[Pkg-nagios-changes] [SCM] Debian packaging for mod gearman. branch, master, updated. debian/1.0.3-1-28-ga8ba0c2

Stig Sandbeck Mathisen ssm at debian.org
Fri May 20 10:21:36 UTC 2011


The following commit has been merged in the master branch:
commit b9a801383a52f3b85022ffc447a47a7fa61c720e
Author: Stig Sandbeck Mathisen <ssm at debian.org>
Date:   Thu May 19 13:28:08 2011 +0200

    Add /etc/default/mod-gearman-worker

diff --git a/debian/mod-gearman-worker.default b/debian/mod-gearman-worker.default
new file mode 100644
index 0000000..1c26c6e
--- /dev/null
+++ b/debian/mod-gearman-worker.default
@@ -0,0 +1,4 @@
+# Defaults file for mod-gearman-worker
+
+# $DAEMON_OPTS is set in the init script, you can override it here.
+# DAEMON_OPTS=""
diff --git a/debian/mod-gearman-worker.init b/debian/mod-gearman-worker.init
index e529740..49d5ce1 100755
--- a/debian/mod-gearman-worker.init
+++ b/debian/mod-gearman-worker.init
@@ -23,6 +23,10 @@ DAEMON_OPTS="-d --config=$CONFIG --pidfile=$PIDFILE"
 
 . /lib/lsb/init-functions
 
+if [ -e /etc/default/mod-gearman-worker ]; then
+    . /etc/default/mod-gearman-worker
+fi
+
 pre_start() {
     if [ ! -e "$CONFIG" ]; then
         log_failure_msg "Configuration file $CONFIG not present"

-- 
Debian packaging for mod gearman.



More information about the Pkg-nagios-changes mailing list