etc-gentoo/init.d/cups-browsed

21 lines
386 B
Plaintext
Executable File

#!/sbin/runscript
PIDFILE=/var/run/cups-browsed.pid
depend() {
need cupsd
}
start() {
ebegin "Starting cups-browsed"
start-stop-daemon --start --make-pidfile --pidfile "${PIDFILE}" \
--background --quiet --exec /usr/sbin/cups-browsed
eend $?
}
stop() {
ebegin "Stopping cups-browsed"
start-stop-daemon --stop --pidfile "${PIDFILE}" --quiet --exec /usr/sbin/cupsd
eend $?
}