You are not logged in.

#1 2012-06-10 02:27:22

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

[SOLVED] systemctl enable privoxy.service?

I can start privoxy with:

systemctl start privoxy.service

but I can't enable it with:

systemctl enable privoxy.service

I've had system.d running for an hour or so, so I don't have much experience. pacman doesn't show any service files (nor any systemd stuff):

~ >pacman -Ql privoxy | grep service
privoxy /etc/privoxy/templates/mod-support-and-service

Am I understanding this correctly in that there isn't systemd support in the official Arch package yet and that the compatibility libraries are why I can start it at all with systemctl?

Last edited by skottish (2012-06-10 13:44:06)

Offline

#2 2012-06-10 04:58:54

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: [SOLVED] systemctl enable privoxy.service?

Seems that way. Either a packaged unit file should be in /usr/lib/systemd/system or maybe a custom one in /etc/systemd/system. I have no privoxy.service in my set up. Does privoxy come with a unit service file? Don't use it myself. You can always create one.

Offline

#3 2012-06-10 11:20:58

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: [SOLVED] systemctl enable privoxy.service?

You can start it because of the backward compatibility with initscripts. systemd will automatically look for a script in /etc/rc.d and start this if it can't find a service file. You can't enable it because there is no actual service file to enable. I suggest searching google if someone has already written a service for it, if not, write one yourself.

Offline

#4 2012-06-10 13:43:50

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] systemctl enable privoxy.service?

65kid wrote:

You can start it because of the backward compatibility with initscripts. systemd will automatically look for a script in /etc/rc.d and start this if it can't find a service file. You can't enable it because there is no actual service file to enable. I suggest searching google if someone has already written a service for it, if not, write one yourself.

Thanks for the clarification. I'm just trying to understand this system with having almost no free time.

I'll end up writing a service file myself. I'm sure that they're simple enough.

Offline

#5 2012-06-10 14:38:06

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] systemctl enable privoxy.service?

Offline

Board footer

Powered by FluxBB