Package: ganglia-monitor
Version: 3.6.0-1
Severity: minor
Would you please add a status target to the ganglia init scripts (patch
attached)? Tools like Puppet assume init scripts provide a status target,
or they try to start the daemon every time they're run.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ganglia-monitor depends on:
ii adduser 3.113+nmu3
ii libapr1 1.4.6-4
ii libc6 2.17-5
ii libconfuse0 2.7-4
ii libexpat1 2.1.0-3
ii libganglia1 3.6.0-1
ii libpcre3 1:8.31-2
ii zlib1g 1:1.2.8.dfsg-1
ganglia-monitor recommends no packages.
ganglia-monitor suggests no packages.
-- Configuration Files:
/etc/init.d/ganglia-monitor changed [not included]
-- no debconf information
diff --git a/debian/ganglia-monitor.init b/debian/ganglia-monitor.init
index e6c7cc9..657aaa3 100644
--- a/debian/ganglia-monitor.init
+++ b/debian/ganglia-monitor.init
@@ -34,6 +34,9 @@ case "$1" in
$0 stop
$0 start
;;
+ status)
+ status_of_proc "$DAEMON" "$NAME"
+ ;;
*)
N=/etc/init.d/$NAME
# echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
diff --git a/debian/gmetad.init b/debian/gmetad.init
index 1d3ef5b..811cf0d 100644
--- a/debian/gmetad.init
+++ b/debian/gmetad.init
@@ -34,6 +34,9 @@ case "$1" in
$0 stop
$0 start
;;
+ status)
+ status_of_proc "$DAEMON" "$NAME"
+ ;;
*)
N=/etc/init.d/$NAME
# echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2