aboutsummaryrefslogtreecommitdiffstats
path: root/main/cups/cupsd.initd
blob: f59e27b4c4b43a72a172d07c6e9848f6897aaf83 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 $?
}