mds/net-print/cups/files/cupsd.init.d

21 lines
293 B
D
Raw Normal View History

#!/sbin/runscript
depend() {
use net
@neededservices@
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 $?
}