You are not logged in.

#1 2021-01-05 17:02:10

javum
Member
Registered: 2009-07-31
Posts: 19

cups.socket not working

Wiki says:
cups provides a cups.socket unit. If cups.socket is enabled (and cups.service is disabled), systemd will not start CUPS immediately; it will just listen to the appropriate sockets. Then, whenever a program attempts to connect to one of these CUPS sockets, systemd will start cups.service and transparently hand over control of these ports to the CUPS process.

Everything worked fine: socket was enabled, service was disabled and socket triggers the service on demand.
But after renaming update
https://github.com/archlinux/svntogit-p … 0e7193c9d0
socket works no more.
Yes, I reenabled it with new name, but no luck.

Anyone using cups.socket here?

Offline

#2 2021-01-13 11:32:01

mushotoku
Member
Registered: 2020-12-11
Posts: 11

Re: cups.socket not working

Whats the output of

$ systemctl status cups.service cups.socket 

Should look something like this (mine is a fresh install, though):

$ systemctl status cups.service cups.socket 

● cups.service - CUPS Scheduler
     Loaded: loaded (/usr/lib/systemd/system/cups.service; disabled; vendor preset: disabled)
     Active: active (running) since Wed 2021-01-13 11:16:00 CET; 1h 0min ago
TriggeredBy: ● cups.socket
       Docs: man:cupsd(8)
   Main PID: 911 (cupsd)
     Status: "Scheduler is running..."
      Tasks: 1 (limit: 38316)
     Memory: 4.8M
        CPU: 194ms
     CGroup: /system.slice/cups.service
             └─911 /usr/bin/cupsd -l

Warning: journal has been rotated since unit was started, output may be incomplete.

● cups.socket - CUPS Scheduler
     Loaded: loaded (/usr/lib/systemd/system/cups.socket; enabled; vendor preset: disabled)
     Active: active (running) since Wed 2021-01-13 11:15:58 CET; 1h 0min ago
   Triggers: ● cups.service
     Listen: /run/cups/cups.sock (Stream)
     CGroup: /system.slice/cups.socket

Warning: journal has been rotated since unit was started, output may be incomplete.

Works like expected.

Offline

Board footer

Powered by FluxBB