Fix logging

This commit is contained in:
Jean Froment 2021-06-20 15:40:17 +02:00
parent 5053729640
commit 1d12fce259
1 changed files with 2 additions and 1 deletions

View File

@ -36,7 +36,8 @@ if [[ ! -z ${FLOOD_PASSWORD} && ${FLOOD_AUTOCREATE_USER_IN_DELUGE_DAEMON} == tru
if ! grep -q "flood" /data/config/deluge/auth; then if ! grep -q "flood" /data/config/deluge/auth; then
echo "flood:${FLOOD_PASSWORD}:10" >> /data/config/deluge/auth echo "flood:${FLOOD_PASSWORD}:10" >> /data/config/deluge/auth
else else
echo "No need to add user/password for flood as it has already been created." echo "[$0] No need to add user/password for flood as it has already been created."
echo "[$0] Consider setting FLOOD_AUTOCREATE_USER_IN_DELUGE_DAEMON variable to false in .env file."
fi fi
fi fi