[Pkg-nagios-changes] [SCM] Debian packaging for mod gearman. branch, master, updated. debian/1.3.6-1-32-g799bc63

Stig Sandbeck Mathisen ssm at debian.org
Thu Feb 7 07:19:07 UTC 2013


The following commit has been merged in the master branch:
commit ef9ec1278e881c7b690f0ac3a4bf13a5d2195246
Author: Stig Sandbeck Mathisen <ssm at debian.org>
Date:   Thu Feb 7 08:06:37 2013 +0100

    init script: exit early if daemon is not installed (Closes: #699945)

diff --git a/debian/mod-gearman-worker.init b/debian/mod-gearman-worker.init
index 123044e..59f935e 100755
--- a/debian/mod-gearman-worker.init
+++ b/debian/mod-gearman-worker.init
@@ -24,6 +24,9 @@ USER=nagios
 USERID=$(id -u)
 DAEMON_OPTS="-d --config=$CONFIG --pidfile=$PIDFILE --logmode=syslog"
 
+# Bail out if not installed
+[ -x "$DAEMON" ] || exit 0
+
 . /lib/lsb/init-functions
 
 if [ -e /etc/default/mod-gearman-worker ]; then

-- 
Debian packaging for mod gearman.



More information about the Pkg-nagios-changes mailing list