Trying to fix bug with space value for REGION

This commit is contained in:
Quentin McGaw
2018-04-18 18:02:36 -04:00
parent adade5698e
commit e4d7dea676
2 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ HEALTHCHECK --interval=10m --timeout=5s --start-period=10s --retries=1 \
[ "$VPNCITY" != "$CITY" ] || [ "$VPNORGANIZATION" != "$ORGANIZATION" ] || exit 1
ENV ENCRYPTION=strong \
PROTOCOL=tcp \
REGION=Switzerland
REGION=Germany
COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh
ENTRYPOINT /entrypoint.sh

View File

@@ -10,5 +10,5 @@ printf "DONE\nStarting Unbound to connect to Cloudflare DNS 1.1.1.1 at its TLS e
unbound
printf "DONE\nStarting OpenVPN using $PROTOCOL with $ENCRYPTION encryption\n"
cd /openvpn-$PROTOCOL-$ENCRYPTION
openvpn --config $REGION.ovpn --auth-user-pass /auth.conf
openvpn --config "$REGION.ovpn" --auth-user-pass /auth.conf
printf "\n\nExiting..."