Deluge with -c on another port.
Posted: Thu Apr 23, 2009 1:46 pm
Hi, I am trying to run multiple instances of deluge (long story don't ask
), each with it's own config. Anyway I am having some trouble starting deluge from another config directory and having the daemon run on another port.
what I did was:
cp ~/.config/deluge ~/delug2
deluge -c ~/delug2
goto edit -> preferences -> daemon -> set port to 58847
close deluge
run ps aux | grep deluge and confirm there are no instances of deluge
run netstat -ln | grep 588 and confirm nothing is listening on 58846 or 58847
start deluge
goto edit -> preferences -> daemon -> confirm port is on 58847
run ps aux | grep deluge and get this output:
run netstat -ln | grep 488 and get this output:
So while the ui seems to say 58847 it still seems to be running on 58846?
Obviously this makes it very hard to run 2 copies as they both try to start a daemon on the same port.
Has anybody had any luck either running multiple instances of deluge or running deluge with a -c directive and being able to use a different port?

what I did was:
cp ~/.config/deluge ~/delug2
deluge -c ~/delug2
goto edit -> preferences -> daemon -> set port to 58847
close deluge
run ps aux | grep deluge and confirm there are no instances of deluge
run netstat -ln | grep 588 and confirm nothing is listening on 58846 or 58847
start deluge
goto edit -> preferences -> daemon -> confirm port is on 58847
run ps aux | grep deluge and get this output:
Code: Select all
adante 16916 8.8 1.5 78336 30792 pts/12 Sl+ 23:44 0:00 /usr/bin/python /usr/bin/deluge -c /home/adante/delug2
adante 16930 0.2 0.6 65984 13152 ? Sl 23:44 0:00 /usr/bin/python /usr/bin/deluged --port=58846 --config=/home/adante/delug2
Code: Select all
tcp 0 0 127.0.0.1:58846 0.0.0.0:* LISTEN
Obviously this makes it very hard to run 2 copies as they both try to start a daemon on the same port.
Has anybody had any luck either running multiple instances of deluge or running deluge with a -c directive and being able to use a different port?