mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-12-26 02:51:41 +00:00
Merge branch 'master' into dev
This commit is contained in:
commit
78ea1d2fd4
@ -12,9 +12,13 @@ echo "Generating transmission settings.json from env variables"
|
|||||||
mkdir -p ${TRANSMISSION_HOME}
|
mkdir -p ${TRANSMISSION_HOME}
|
||||||
dockerize -template /etc/transmission/settings.tmpl:${TRANSMISSION_HOME}/settings.json /bin/true
|
dockerize -template /etc/transmission/settings.tmpl:${TRANSMISSION_HOME}/settings.json /bin/true
|
||||||
|
|
||||||
echo "STARTING TRANSMISSION"
|
if [ ! -e "/dev/random" ]; then
|
||||||
# Avoid "Fatal: no entropy gathering module detected" error
|
# Avoid "Fatal: no entropy gathering module detected" error
|
||||||
|
echo "INFO: /dev/random not found - symlink to /dev/urandom"
|
||||||
ln -s /dev/urandom /dev/random
|
ln -s /dev/urandom /dev/random
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "STARTING TRANSMISSION"
|
||||||
exec /usr/bin/transmission-daemon -g ${TRANSMISSION_HOME} --logfile ${TRANSMISSION_HOME}/transmission.log &
|
exec /usr/bin/transmission-daemon -g ${TRANSMISSION_HOME} --logfile ${TRANSMISSION_HOME}/transmission.log &
|
||||||
|
|
||||||
if [ "$OPENVPN_PROVIDER" = "PIA" ]
|
if [ "$OPENVPN_PROVIDER" = "PIA" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user