[Pkg-nagios-changes] [SCM] Debian packaging for mod gearman. branch, master, updated. debian/1.4.2-1
Stig Sandbeck Mathisen
ssm at debian.org
Sun May 5 15:53:15 UTC 2013
The following commit has been merged in the master branch:
commit 7b891ecff7f0fb0ad68a8c618e5d375c6775e323
Author: Stig Sandbeck Mathisen <ssm at debian.org>
Date: Fri Apr 26 13:52:32 2013 +0200
Add upstart configuration for mod-gearman-worker
diff --git a/debian/mod-gearman-worker.upstart b/debian/mod-gearman-worker.upstart
new file mode 100644
index 0000000..39eae96
--- /dev/null
+++ b/debian/mod-gearman-worker.upstart
@@ -0,0 +1,16 @@
+# -*- upstart -*-
+
+# Upstart configuration script for "mod-gearman-worker".
+
+description "mod_gearman workers"
+
+start on (filesystem and net-device-up IFACE=lo)
+stop on runlevel [!2345]
+
+respawn
+
+exec start-stop-daemon --start --chuid nagios --exec /usr/sbin/mod_gearman_worker -- --config=/etc/mod-gearman/worker.conf
+
+post-stop script
+pkill -9 -u nagios -f mod_gearman_worker || true
+end script
--
Debian packaging for mod gearman.
More information about the Pkg-nagios-changes
mailing list