[Pkg-nagios-changes] [SCM] Debian packaging for mod gearman. branch, master, updated. debian/1.1.1-1-21-gf620933

Stig Sandbeck Mathisen ssm at debian.org
Sat Jan 14 14:47:49 UTC 2012


The following commit has been merged in the master branch:
commit 1629d44d8a0296abceb66d86287f9626155ba7b5
Author: Stig Sandbeck Mathisen <ssm at debian.org>
Date:   Sat Jan 14 14:25:28 2012 +0100

    Add systemd service

diff --git a/debian/mod-gearman-worker.dirs b/debian/mod-gearman-worker.dirs
index 76f6907..a2c27aa 100644
--- a/debian/mod-gearman-worker.dirs
+++ b/debian/mod-gearman-worker.dirs
@@ -1 +1,2 @@
-etc/mod-gearman
\ No newline at end of file
+etc/mod-gearman
+lib/systemd/system
diff --git a/debian/mod-gearman-worker.install b/debian/mod-gearman-worker.install
index d505e46..a967848 100644
--- a/debian/mod-gearman-worker.install
+++ b/debian/mod-gearman-worker.install
@@ -1 +1,2 @@
 debian/tmp/usr/bin/mod_gearman_worker usr/sbin
+debian/mod-gearman-worker.service lib/systemd/system
diff --git a/debian/mod-gearman-worker.service b/debian/mod-gearman-worker.service
new file mode 100644
index 0000000..4f7e26c
--- /dev/null
+++ b/debian/mod-gearman-worker.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=Mod Gearman worker
+
+[Service]
+User=nagios
+ExecStart=/usr/sbin/mod_gearman_worker --config=/etc/mod-gearman/worker.conf
+StandardOutput=syslog

-- 
Debian packaging for mod gearman.



More information about the Pkg-nagios-changes mailing list