summaryrefslogtreecommitdiffstats
path: root/main/collectd/collectd.initd
blob: de5705a0322bd4747bd7759bdd79b5520f91c0a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/sbin/runscript

DAEMON=/usr/sbin/collectd

depend() {
	need net
}

start() {
	ebegin "Starting collectd"
	start-stop-daemon --start --exec $DAEMON -- $collectd_options
	eend $?
}

stop () {
	ebegin "Stopping collectd"
	start-stop-daemon --stop --exec $DAEMON
	eend $?
}