jsbronder 15/08/05 14:27:13 Added: gmetad-python.rc Log: add gmetad-python (#406855) (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 4D7043C9)
Revision Changes Path 1.1 sys-cluster/ganglia/files/gmetad-python.rc file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ganglia/files/gmetad-python.rc?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ganglia/files/gmetad-python.rc?rev=1.1&content-type=text/plain Index: gmetad-python.rc =================================================================== #!/sbin/runscript # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/files/gmetad-python.rc,v 1.1 2015/08/05 14:27:13 jsbronder Exp $ 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" }
