Update start.sh

This commit is contained in:
MarkusMcNugen 2018-02-02 20:44:23 -05:00 committed by GitHub
parent feb7c06f1d
commit 262559b513
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,8 @@ else
echo "Setting OPENVPN credentials..."
echo $OPENVPN_USERNAME > /config/openvpn/credentials.conf
echo $OPENVPN_PASSWORD >> /config/openvpn/credentials.conf
chmod 775 /config/openvpn/credentials.conf
chown -R "${PUID}":"${PGID}" /config/openvpn
chmod -R 775 /config/openvpn
fi
exec openvpn --config "$VPN_CONFIG"