I am a new user of Deluge, and I'm loving it!
I am currently running a headless Deluge on Ubuntu 11.10 (XBMCbuntu dist v11 EDEN), using GTKUI to control it within the local network, and the WebUI for controlling it remotely.
I followed the guide available here for the setup, and it worked great!
I also followed this guide for the InitScript, which also worked wonderfully.
However, it takes a few seconds after boot for my external storage to get mounted properly, hence all my downloads get plagued by errors each boot, and I have to manually start them.
I was wondering if there was a way to modify the InitScript in order to delay the start of Deluge by two minutes.
My /etc/init/deluge.conf
Code: Select all
start on (filesystem and networking) or runlevel [2345]
stop on runlevel [016]
env uid=myuser
env gid=mygroup
env umask=000
exec start-stop-daemon -S -c $uid:$gid -k $umask -x /usr/bin/deluged -- -d
Code: Select all
start on started deluge
stop on stopping deluge
env uid=myuser
env gid=mygroup
env umask=027
exec start-stop-daemon -S -c $uid:$gid -k $umask -x /usr/bin/deluge-web
Hillside