Skip to content
Snippets Groups Projects
Commit 659091bb authored by rid's avatar rid
Browse files

:bug: Fixed deluge

parent 219ab9db
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@
"Notifications"
],
"random_port": false,
"autoadd_enable": false,
"autoadd_enable": true,
"max_connections_global": -1,
"enc_prefer_rc4": true,
"listen_ports": [
......
......@@ -13,11 +13,11 @@ mkdir -p /torrents/config/watch
mv /configs/* /torrents/config/deluge/
rm -fr /configs
chown -R 1000:1000 /torrents
chmod +x /deluge-pass.py
/deluge-pass.py /torrents/config/deluge ${DELUGE_PASSWORD}
cat /torrents/config/deluge/auth | grep "${DELUGE_USERNAME}" || echo "${DELUGE_USERNAME}:${DELUGE_PASSWORD}:10" >> /torrents/config/deluge/auth
chown -R 1000:1000 /torrents
exec "/init"
\ No newline at end of file
......@@ -4,9 +4,6 @@ UMASK_SET=${UMASK_SET:-022}
umask "$UMASK_SET"
s6-setuidgid abc /usr/bin/deluged -c /torrents/config/deluge/ -d --loglevel=info -l /torrents/config/log/deluged.log &
echo $(date) && sleep 10 && echo $(date) && kill -9 $(pgrep -f '/usr/bin/deluged')
exec \
s6-setuidgid abc /usr/bin/deluged -c /torrents/config/deluge/ \
-d --loglevel=info -l /torrents/config/log/deluged.log
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment