mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-14 22:55:11 +00:00
Update start.sh
This commit is contained in:
parent
feb7c06f1d
commit
262559b513
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user