diff options
author | Luo Jinghua <sunmoon1997@gmail.com> | 2011-07-01 22:14:41 +0800 |
---|---|---|
committer | Luo Jinghua <sunmoon1997@gmail.com> | 2011-07-01 22:14:41 +0800 |
commit | 8879b84eb241b55c154b9df38e119d90dbfa09a2 (patch) | |
tree | bffd48bfbc5472e8bdded3b8ad9a79615e8dff4e | |
parent | 118aa430f2c82ad6429874edf7a51cec40554bd8 (diff) |
cups: socket activation doesn't work yet
-rw-r--r-- | cups.service | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cups.service b/cups.service index a3ca787..19e5312 100644 --- a/cups.service +++ b/cups.service @@ -4,7 +4,8 @@ Wants=portreserve.service After=portreserve.service [Service] -ExecStartPre=/sbin/portrelease cups +ExecStartPre=-/sbin/portrelease cups +ExecStartPre=-/sbin/portrelease ipp ExecStart=/usr/sbin/cupsd -f # This is evil stuff. CUPS should use proper enumeration instead of @@ -19,5 +20,5 @@ ExecStartPost=/sbin/udevadm trigger --subsystem-match=usb --property-match=DEVNA # 2. A file is in the spool directory # 3. A printer is plugged in # This follows the same scheme MacOS uses to spawn CUPS only when necessary -Also=cups.socket cups.path +#Also=cups.socket cups.path WantedBy=printer.target |