Add ebuild for ganglia-3.7.2, the latest release.

This commit is contained in:
Manuel Friedli 2018-07-12 23:58:23 +02:00
parent 8c60c70ca8
commit f5a9aaa642
8 changed files with 268 additions and 0 deletions

View file

@ -0,0 +1,18 @@
#!/sbin/openrc-run
depend() {
need net
after ntp-client ntpd
}
start() {
ebegin "Starting GANGLIA gmond: "
start-stop-daemon --start --quiet --exec /usr/sbin/gmond
eend $? "Failed to start gmond"
}
stop() {
ebegin "Shutting down GANGLIA gmond: "
start-stop-daemon --stop --quiet --exec /usr/sbin/gmond
eend $? "Failed to stop gmond"
}