You are not logged in.

#1 2012-09-29 02:40:03

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

How should one start deluged on startup under systemd

$ sudo systemctl enable deluged.service
The unit files have no [Install] section. They are not meant to be enabled using systemctl.

If this is the case, how then should one go about starting deluged on a system boot?

Offline

#2 2012-09-29 02:45:16

alienated_humour
Member
From: NYC
Registered: 2011-07-28
Posts: 23

Re: How should one start deluged on startup under systemd

This page offers possible solutions in the "Change History" section. Try changing/adding the required .{service,socket} files as you need.

Last edited by alienated_humour (2012-09-29 02:45:50)

Offline

#3 2012-09-29 02:45:57

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: How should one start deluged on startup under systemd

I guess it is because it does not include a WantedBy=multi-user.target... I don't really see how adding that would be detrimental if this is how you were running it before.  I assume it just means that you can start/stop it but not enable it on boot.

Edit: corrected systemd terminology.

Last edited by WonderWoofy (2012-09-29 02:48:10)

Offline

#4 2012-09-29 02:47:00

crondog
Member
Registered: 2011-04-21
Posts: 130

Re: How should one start deluged on startup under systemd

Add something like

[Install]
WantedBy=multi-user.target

at the end of deluged.service or however else you want systemd to handle it

Offline

#5 2012-09-29 02:47:14

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: How should one start deluged on startup under systemd

Ah... so it's an upstream issue with the included service/socket files?

Offline

#6 2012-10-16 14:17:49

vladthedog
Member
Registered: 2010-12-03
Posts: 45

Re: How should one start deluged on startup under systemd

graysky, were you able to fix this?

Offline

#7 2012-10-16 19:29:33

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: How should one start deluged on startup under systemd

vladthedog wrote:

graysky, were you able to fix this?

Nope.

Offline

#8 2012-10-16 19:55:51

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: How should one start deluged on startup under systemd

Why  not try what crondog suggested? iF it works, submit a patch.

Offline

#9 2012-10-16 20:15:34

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: How should one start deluged on startup under systemd

@tomk - I became too busy with other stuff recently to try this out but I will.  Just need some time smile  I will update the thread with results and will of course take responsibility to open a patch with upstream if successful.

Offline

#10 2012-10-16 20:36:40

Leonid.I
Member
From: Aethyr
Registered: 2009-03-22
Posts: 999

Re: How should one start deluged on startup under systemd

crondog wrote:

Add something like

[Install]
WantedBy=multi-user.target

at the end of deluged.service or however else you want systemd to handle it

Or just update... Please have a look at https://projects.archlinux.org/svntogit … ges/deluge


Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd

Offline

Board footer

Powered by FluxBB