Add ebuild for ganglia-3.7.2, the latest release.
This commit is contained in:
parent
8c60c70ca8
commit
f5a9aaa642
8 changed files with 268 additions and 0 deletions
18
sys-cluster/ganglia/files/gmetad.rc
Normal file
18
sys-cluster/ganglia/files/gmetad.rc
Normal file
|
@ -0,0 +1,18 @@
|
|||
#!/sbin/openrc-run
|
||||
|
||||
depend() {
|
||||
need net
|
||||
after ntp-client ntpd
|
||||
}
|
||||
|
||||
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"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue