1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#!/sbin/openrc-run 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 $? }