Sha256: 92aac279f523cdbc19c4faeb0a186e5aec49b4f35aba561a65562764fb60a15a
Contents?: true
Size: 845 Bytes
Versions: 23
Compression:
Stored size: 845 Bytes
Contents
#!/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/sbin/gmetad NAME=gmetad DESC="Ganglia Monitor Meta-Daemon" test -x $DAEMON || exit 0 set -e case "$1" in start) echo -n "Starting $DESC: " start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \ --exec $DAEMON echo "$NAME." ;; stop) echo -n "Stopping $DESC: " start-stop-daemon --stop --quiet --oknodo \ --exec $DAEMON 2>&1 > /dev/null echo "$NAME." ;; reload) ;; restart|force-reload) $0 stop $0 start ;; *) N=/etc/init.d/$NAME # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 echo "Usage: $N {start|stop|restart|force-reload}" >&2 exit 1 ;; esac exit 0
Version data entries
23 entries across 23 versions & 3 rubygems