Sha256: 2d62f6c0a85a8a3b1c82c3db487862dce34c5eae5dbbb5532aea0b189fd69f81
Contents?: true
Size: 838 Bytes
Versions: 23
Compression:
Stored size: 838 Bytes
Contents
#!/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/sbin/gmond NAME=gmond DESC="Ganglia Monitor 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