summaryrefslogtreecommitdiff
blob: 27ef2c26fc82f8e5a98dd1f8286e0f053182a108 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/sbin/runscript

depend() {
	need net
}

start() {
	ebegin "Starting cf-monitord"
	start-stop-daemon --start --exec /usr/sbin/cf-monitord -- ${EXTRA_OPTS}
	eend $?
}

stop() {
	ebegin "Stopping cf-monitord"
	start-stop-daemon --stop --pidfile /var/cfengine/cf-monitord.pid --exec /usr/sbin/cf-monitord
	eend $?
}