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]
|