aports/main/collectd/collectd.initd
2010-06-24 09:41:22 +00:00

21 lines
274 B
Plaintext

#!/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 $?
}