Fix entropy error, enable transmission logging

This commit is contained in:
Matthew Crenshaw 2015-10-29 12:08:20 -04:00
parent f532ab5bd5
commit 64770087f9

View File

@ -13,7 +13,9 @@ mkdir -p ${TRANSMISSION_HOME}
dockerize -template /etc/transmission/settings.tmpl:${TRANSMISSION_HOME}/settings.json /bin/true
echo "STARTING TRANSMISSION"
exec /usr/bin/transmission-daemon -g ${TRANSMISSION_HOME} &
# Avoid "Fatal: no entropy gathering module detected" error
ln -s /dev/urandom /dev/random
exec /usr/bin/transmission-daemon -g ${TRANSMISSION_HOME} --logfile ${TRANSMISSION_HOME}/transmission.log &
if [ "$OPENVPN_PROVIDER" = "PIA" ]
then