aboutsummaryrefslogtreecommitdiffstats
path: root/main/cups/cupsd.initd
diff options
context:
space:
mode:
Diffstat (limited to 'main/cups/cupsd.initd')
-rw-r--r--main/cups/cupsd.initd20
1 files changed, 20 insertions, 0 deletions
diff --git a/main/cups/cupsd.initd b/main/cups/cupsd.initd
new file mode 100644
index 0000000000..f59e27b4c4
--- /dev/null
+++ b/main/cups/cupsd.initd
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+
+depend() {
+ use net
+ need dbus
+ before nfs
+ after logger
+}
+
+start() {
+ ebegin "Starting cupsd"
+ start-stop-daemon --start --quiet --exec /usr/sbin/cupsd
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping cupsd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/cupsd
+ eend $?
+}