summaryrefslogtreecommitdiff
path: root/sys-cluster/ganglia/files/gmetad-python.rc
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/ganglia/files/gmetad-python.rc')
-rw-r--r--sys-cluster/ganglia/files/gmetad-python.rc30
1 files changed, 0 insertions, 30 deletions
diff --git a/sys-cluster/ganglia/files/gmetad-python.rc b/sys-cluster/ganglia/files/gmetad-python.rc
deleted file mode 100644
index a01e42ebd788..000000000000
--- a/sys-cluster/ganglia/files/gmetad-python.rc
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-PIDFILE=/var/run/gmetad-python.pid
-
-depend() {
- need net
- after ntp-client ntpd
-}
-
-start() {
- ebegin "Starting GANGLIA gmetad-python: "
- start-stop-daemon \
- --start --quiet \
- --exec /usr/bin/gmetad.py \
- --pidfile ${PIDFILE} \
- -- \
- -p ${PIDFILE}
- eend $? "Failed to start gmetad-python"
-}
-
-stop() {
- ebegin "Shutting down GANGLIA gmetad-python: "
- start-stop-daemon \
- --stop --quiet \
- --pidfile ${PIDFILE} \
- --exec /usr/bin/gmetad.py
- eend $? "Failed to stop gmetad-python"
-}