You are not logged in.

#1 2012-10-16 16:57:17

daniel_shub
Member
Registered: 2012-06-21
Posts: 82

cups and systemd

In this table (https://wiki.archlinux.org/index.php/Da … of_Daemons) it looks like there is a cups.service and a cupsd.service. I get an error if I try

# systemctl enable cupsd.service

Failed to issue method call: No such file or directory

but, if I ask for the status

# systemctl status cupsd.service
cups.service - CUPS Printing Service
          Loaded: loaded (/usr/lib/systemd/system/cups.service; disabled)
          Active: inactive (dead)
          CGroup: name=systemd:/system/cups.service

it looks like it exists. The cups page of the wiki (https://wiki.archlinux.org/index.php/CUPS) seems to not be updated for systemd (nor flagged out of date).

At this point I am curious if cupsd.service actually exists, and if so, how is it different from cups.service.

Offline

#2 2012-10-16 21:47:50

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,594

Re: cups and systemd

Take a look at /usr/lib/systemd/system and you'll understand. This is where all of the default service files are stored.

Offline

#3 2012-10-16 22:12:49

tomegun
Developer
From: France
Registered: 2010-05-28
Posts: 661

Re: cups and systemd

cupsd.service is a symlink to cups.service. This means that having "cupsd" in your DAEMONS array will still start cups.service. It is not ideal though, as it does cause the error you are seeing. Solution: ignore cupsd.service and just use cups.service instead.

Offline

#4 2012-10-17 10:40:11

daniel_shub
Member
Registered: 2012-06-21
Posts: 82

Re: cups and systemd

Thank you guys. That answers my question.

How do I get one of those cool [Solved] things in front of the question. My searches were unsuccessful, but I am guessing there is an often used post....

Offline

#5 2012-10-17 11:03:59

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,594

Re: cups and systemd

You edit the first post in the thread and change the title.

Offline

Board footer

Powered by FluxBB