Deluge with -c on another port.

General support for problems installing or using Deluge
Post Reply
adante
New User
New User
Posts: 3
Joined: Thu Apr 23, 2009 1:22 pm

Deluge with -c on another port.

Post by adante »

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:

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
run netstat -ln | grep 488 and get this output:

Code: Select all

tcp        0      0 127.0.0.1:58846         0.0.0.0:*               LISTEN
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?
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: Deluge with -c on another port.

Post by andar »

You can't do this with Classic Mode.
adante
New User
New User
Posts: 3
Joined: Thu Apr 23, 2009 1:22 pm

Re: Deluge with -c on another port.

Post by adante »

thanks - disabling classic mode and running fixed this
Post Reply