I installed deluge a while back. But then I decided to make it start on boot. So I disabled "Classic mode" and enabled corresponding daemon (systemctl enable deluged). But now deluge-gtk doesn't recognize the daemon as being running (daemon's status is red in Connection Manager). Every time I want to start deluge-gtk, I need to stop the daemon first (systemctl stop deluged) and start it from Connection Manager in deluge-gtk.
Some more details:
Code: Select all
<after boot>
$ ps -ef | grep deluge
deluge 487 1 0 09:13 ? 00:00:32 /usr/bin/python2 /usr/bin/deluged -d
yuri 3530 2717 0 10:54 pts/0 00:00:00 grep --color=auto deluge
$ sudo ss -nlp | grep deluge
u_str LISTEN 0 50 /home/yuri/.config/deluge/ipc/deluge-gtk 259201 * 0 users:(("deluge-gtk",pid=3727,fd=3))
udp UNCONN 0 0 *:54763 *:* users:(("deluged",pid=487,fd=22))
udp UNCONN 0 0 *:65124 *:* users:(("deluged",pid=487,fd=14))
udp UNCONN 0 0 192.168.0.21:6771 *:* users:(("deluged",pid=487,fd=26))
udp UNCONN 0 0 127.0.0.1:6771 *:* users:(("deluged",pid=487,fd=24))
udp UNCONN 0 0 *:6771 *:* users:(("deluged",pid=487,fd=23))
udp UNCONN 0 0 192.168.0.21:57988 *:* users:(("deluged",pid=487,fd=27))
udp UNCONN 0 0 127.0.0.1:58373 *:* users:(("deluged",pid=487,fd=25))
udp UNCONN 0 0 :::65124 :::* users:(("deluged",pid=487,fd=15))
tcp LISTEN 0 5 *:4433 *:* users:(("deluged",pid=487,fd=11))
tcp LISTEN 0 50 127.0.0.1:58846 *:* users:(("deluged",pid=487,fd=9))
tcp LISTEN 0 5 *:65124 *:* users:(("deluged",pid=487,fd=10))
tcp LISTEN 0 5 :::4434 :::* users:(("deluged",pid=487,fd=13))
tcp LISTEN 0 5 :::65124 :::* users:(("deluged",pid=487,fd=12))
$ systemctl stop deluged
<start deluged from Connection Manager>
$ ps -ef | grep deluge
yuri 3727 834 0 10:57 tty1 00:00:02 /usr/bin/python2 /usr/bin/deluge-gtk
yuri 4053 1 35 11:08 ? 00:00:08 /usr/bin/python2 /usr/bin/deluged --port=58846 --config=/home/yuri/.config/deluge
yuri 4074 2717 0 11:08 pts/0 00:00:00 grep --color=auto deluge
$ sudo ss -nlp | grep deluge
u_str LISTEN 0 50 /home/yuri/.config/deluge/ipc/deluge-gtk 259201 * 0 users:(("deluge-gtk",pid=3727,fd=3))
udp UNCONN 0 0 *:46981 *:* users:(("deluged",pid=4053,fd=24))
udp UNCONN 0 0 192.168.0.21:6771 *:* users:(("deluged",pid=4053,fd=29))
udp UNCONN 0 0 127.0.0.1:6771 *:* users:(("deluged",pid=4053,fd=27))
udp UNCONN 0 0 *:6771 *:* users:(("deluged",pid=4053,fd=25))
udp UNCONN 0 0 *:49815 *:* users:(("deluged",pid=4053,fd=14))
udp UNCONN 0 0 127.0.0.1:54349 *:* users:(("deluged",pid=4053,fd=28))
udp UNCONN 0 0 192.168.0.21:60638 *:* users:(("deluged",pid=4053,fd=30))
udp UNCONN 0 0 :::49815 :::* users:(("deluged",pid=4053,fd=17))
tcp LISTEN 0 5 *:4433 *:* users:(("deluged",pid=4053,fd=11))
tcp LISTEN 0 5 *:49815 *:* users:(("deluged",pid=4053,fd=10))
tcp LISTEN 0 50 127.0.0.1:58846 *:* users:(("deluged",pid=4053,fd=18))
tcp LISTEN 0 5 :::4434 :::* users:(("deluged",pid=4053,fd=13))
tcp LISTEN 0 5 :::49815 :::* users:(("deluged",pid=4053,fd=12))
P.S. I'm running Arch Linux, if anything. And just in case here's the corresponding topic on their forum.