mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-12-24 10:01:40 +00:00
keeping env vars
This commit is contained in:
parent
faa3972ab4
commit
d129497ca5
@ -28,7 +28,9 @@ ADD transmission/runUpdates.sh /etc/transmission-daemon/startPortUpdates.sh
|
||||
ADD transmission/down.sh /etc/transmission-daemon/stop.sh
|
||||
ADD runOpenVpn.sh /etc/openvpn/start.sh
|
||||
|
||||
ENV "TRANSMISSION_ALT_SPEED_DOWN=50" \
|
||||
ENV PIA_USERNAME=**None** \
|
||||
PIA_PASSWORD=**None** \
|
||||
"TRANSMISSION_ALT_SPEED_DOWN=50" \
|
||||
"TRANSMISSION_ALT_SPEED_ENABLED=false" \
|
||||
"TRANSMISSION_ALT_SPEED_TIME_BEGIN=540" \
|
||||
"TRANSMISSION_ALT_SPEED_TIME_DAY=127" \
|
||||
|
@ -24,7 +24,7 @@ then
|
||||
fi
|
||||
|
||||
# add PIA user/pass
|
||||
if [ -z "$PIA_USERNAME" ] || [ -z "$PIA_PASSWORD" ] ; then
|
||||
if [ "${PIA_USERNAME}" = "**None**" ] || [ "${PIA_PASSWORD}" = "**None**" ] ; then
|
||||
echo "PIA credentials not set. Exiting."
|
||||
exit 1
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user