Hello Team,
I have recently moved from rTorrent to deluge mainly cause rTorrent reset settings (download limits and port config) on each reload and my NAS is not 24/7 on also rTorrent did not move the completed downloads sometimes to completed folders
Deluge is fine it is more flexible from my point of view but it also has a problem where on each restart i get errors on some torrents which requires me to force recheck them to get it fixed.
I simply want to have startup and a shutdown script that pause all torrents before shutting down and resume them on startup, i have almost 0 scripting knowledge and debian as well
Scripts
-----------------------------
#!/bin/sh
docker exec -it 345656667gdeluge-console "connect 127.0.0.1:58846 localclient fg56yh7u778678678ui888; pause *"
-----------------------------
#!/bin/sh
docker exec -it 345656667gdeluge-console "connect 127.0.0.1:58846 localclient fg56yh7u778678678ui888; resume *"
-----------------------------
i tried adding the pause script to /etc/rc0.d and rc6.d cause as far as i understand they are for system halt and reboot, then i tried to add the resume to rcS.d but nothing happened, i can run the scripts manually just fine using "bash scriptname" i even added some echo message to show up so i can know if the script ran or not but they are not showing.
can anyone on of you guys please help me or tell me if i can overcome deluge issue using another method or tell me how to fix rTorrent setting reset issue .