mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-08 10:12:59 +01:00
21 lines
274 B
Plaintext
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 $?
|
|
}
|
|
|