You are not logged in.

#1 2012-12-12 21:32:41

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

[SOLVED] cups not started under systemd

Under systemd cupsd is not started automatically; but manually run

 systemctl start cups 

start it. In trying to figure out what happens I see that the install section of cups.service contains the following:

WantedBy=printer.target

But nothing seems to depends on printer target. I have just changed that by

WantedBy=multi-user.target

and everything works. Anyway, either there is a bug that I have corrected, either I have missed something. The original printer.target seems to have nothing that depends on it. Could someone tell me what's the proper way to configure printing under systemd.

Last edited by olive (2012-12-14 06:51:27)

Offline

#2 2012-12-12 21:35:18

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

Re: [SOLVED] cups not started under systemd

printer.target is started via a udev rule as soon as you plug in a printer.

Offline

#3 2012-12-12 22:25:17

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

Re: [SOLVED] cups not started under systemd

cups.service uses socket activation, so the daemon is started when you submit a print job.


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

Offline

#4 2012-12-14 06:51:12

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: [SOLVED] cups not started under systemd

Now cups start properly and everything is fine. I do not know if is due to an upgrade or so, but I put solved now. Thanks for the explanation of the printer target.

Offline

Board footer

Powered by FluxBB