LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   Start cups.service for a network printer with multi.user.wants (http://www.linuxquestions.org/questions/fedora-35/start-cups-service-for-a-network-printer-with-multi-user-wants-4175434039/)

hpfeil 10-25-2012 10:38 AM

Start cups.service for a network printer with multi.user.wants
 
man:systemd.special
printer.target
This target is started automatically as soon as a printer is plugged in or becomes available at boot.
Cups.service is "WantedBy=printer.target"; its soft link is in /usr/lib/systemd/system/printer.target.wants

Cups.service never starts automatically because my printer is a hop away on my local network. It spends its day sleeping until a print job wakes it. It is never "plugged in" and I don't know how systemd can decide whether or not it is "available at boot." Everything works fine with a `sudo systemctl start cups.service'. I made a temporary kludge by adding "Also=cups.service" to cups.path in multi-user-wants. Is there a more elegant way to start cups.service for a network printer?

[Fedora 17 with current updates]


All times are GMT -5. The time now is 05:38 PM.