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

Version Path
auser-poolparty-extensions-0.1.1 lib/extensions/ganglia/templates/bin/gmond.erb
jashmenn-poolparty-extensions-0.1.0 lib/extensions/ganglia/templates/bin/gmond.erb
jashmenn-poolparty-extensions-0.1.1 lib/extensions/ganglia/templates/bin/gmond.erb
poolparty-1.6.9 examples/chef_cloud/chef_repo/cookbooks/ganglia/templates/default/bin/gmond.erb
poolparty-1.6.8 examples/chef_cloud/chef_repo/cookbooks/ganglia/templates/default/bin/gmond.erb
poolparty-1.6.7 examples/chef_cloud/chef_repo/cookbooks/ganglia/templates/default/bin/gmond.erb
poolparty-1.6.6 examples/chef_cloud/chef_repo/cookbooks/ganglia/templates/default/bin/gmond.erb
poolparty-1.6.5 examples/chef_cloud/chef_repo/cookbooks/ganglia/templates/default/bin/gmond.erb
poolparty-1.6.4 examples/chef_cloud/chef_repo/cookbooks/ganglia/templates/default/bin/gmond.erb
poolparty-1.6.3 examples/chef_cloud/chef_repo/cookbooks/ganglia/templates/default/bin/gmond.erb
poolparty-1.6.2 examples/chef_cloud/chef_repo/cookbooks/ganglia/templates/default/bin/gmond.erb
poolparty-1.6.1 examples/chef_cloud/chef_repo/cookbooks/ganglia/templates/default/bin/gmond.erb
poolparty-1.6.0 examples/chef_cloud/chef_repo/cookbooks/ganglia/templates/default/bin/gmond.erb
poolparty-1.5.0 examples/chef_cloud/chef_repo/cookbooks/ganglia/templates/default/bin/gmond.erb
poolparty-1.4.8 examples/chef_cloud/chef_repo/cookbooks/ganglia/templates/default/bin/gmond.erb
poolparty-1.4.7 examples/chef_cloud/chef_repo/cookbooks/ganglia/templates/default/bin/gmond.erb
poolparty-1.4.6 examples/chef_cloud/chef_repo/cookbooks/ganglia/templates/default/bin/gmond.erb
poolparty-1.4.5 examples/chef_cloud/chef_repo/cookbooks/ganglia/templates/default/bin/gmond.erb
poolparty-1.4.4 examples/chef_cloud/chef_repo/cookbooks/ganglia/templates/default/bin/gmond.erb
poolparty-1.4.3 examples/chef_cloud/chef_repo/cookbooks/ganglia/templates/default/bin/gmond.erb