diff options
author | Luo Jinghua <sunmoon1997@gmail.com> | 2012-03-17 20:28:47 +0800 |
---|---|---|
committer | Luo Jinghua <sunmoon1997@gmail.com> | 2012-03-17 20:28:47 +0800 |
commit | 40e4df963b9070de07ba96f56265c1ee557bfa1e (patch) | |
tree | 8c817d2a394f09caa75a5d3a76e272c0c379b7a3 | |
parent | 33c10a7248d6df53016dd04cf45c3e1a42af040f (diff) |
Removed cups.service
-rw-r--r-- | cups.path | 8 | ||||
-rw-r--r-- | cups.service | 24 | ||||
-rw-r--r-- | cups.socket | 9 |
3 files changed, 0 insertions, 41 deletions
diff --git a/cups.path b/cups.path deleted file mode 100644 index 5eed5e5..0000000 --- a/cups.path +++ /dev/null @@ -1,8 +0,0 @@ -[Unit] -Description=CUPS Printer Service Spool - -[Path] -DirectoryNotEmpty=/var/spool/cups - -[Install] -WantedBy=multi-user.target diff --git a/cups.service b/cups.service deleted file mode 100644 index 19e5312..0000000 --- a/cups.service +++ /dev/null @@ -1,24 +0,0 @@ -[Unit] -Description=CUPS Printing Service -Wants=portreserve.service -After=portreserve.service - -[Service] -ExecStartPre=-/sbin/portrelease cups -ExecStartPre=-/sbin/portrelease ipp -ExecStart=/usr/sbin/cupsd -f - -# This is evil stuff. CUPS should use proper enumeration instead of -# retriggering these devices. CUPS folks, please fix this, otherwise Kay will -# come after you! -ExecStartPost=/sbin/udevadm trigger --subsystem-match=usb --attr-match=bInterfaceClass=07 --attr-match=bInterfaceSubClass=01 -ExecStartPost=/sbin/udevadm trigger --subsystem-match=usb --property-match=DEVNAME=/dev/usb/lp* - -[Install] -# This is activated via any of these three triggers: -# 1. Somebody connects to its sockets -# 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 -WantedBy=printer.target diff --git a/cups.socket b/cups.socket deleted file mode 100644 index d56bb93..0000000 --- a/cups.socket +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=CUPS Printing Service Sockets - -[Socket] -ListenStream=/var/run/cups/cups.sock -ListenStream=631 - -[Install] -WantedBy=sockets.target |