added ganglia-3.0.6 ebuild

This commit is contained in:
Manuel Friedli 2007-12-18 00:09:31 +00:00
parent f5a2f59a3c
commit b8adc039d4
5 changed files with 106 additions and 0 deletions

View file

@ -0,0 +1,17 @@
#!/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"
}