18 lines
328 B
Text
18 lines
328 B
Text
|
#!/sbin/runscript
|
||
|
|
||
|
depend() {
|
||
|
need net
|
||
|
}
|
||
|
|
||
|
start() {
|
||
|
ebegin "Starting GANGLIA gmetad: "
|
||
|
start-stop-daemon --start --quiet --exec /usr/sbin/gmetad
|
||
|
eend $? "Failed to start gmetad"
|
||
|
}
|
||
|
|
||
|
stop() {
|
||
|
ebegin "Shutting down GANGLIA gmetad: "
|
||
|
start-stop-daemon --stop --quiet --exec /usr/sbin/gmetad
|
||
|
eend $? "Failed to stop gmetad"
|
||
|
}
|