aboutsummaryrefslogtreecommitdiffstats
path: root/main/cups/cupsd.initd
blob: 17ff3b18818b75003c5acbdd1ce5839dd37f37c5 (plain)
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 $?
}