diff options
Diffstat (limited to 'main/cups/cupsd.initd')
-rw-r--r-- | main/cups/cupsd.initd | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/main/cups/cupsd.initd b/main/cups/cupsd.initd new file mode 100644 index 000000000..f59e27b4c --- /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 $? +} |