Package: munin
Version: 2.0.18-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu trusty ubuntu-patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * d/munin-node.upstart,munin.upstart: Add upstart configurations.

This configurations have been used in Ubuntu for a few cycles now; debhelper
should take the correct actions in Debian and Ubuntu to install init scripts
and upstart configuration (and indeed systemd configs) to the right locations
so it would be nice if these could be included in the Debian package so we
can drop the delta between Debian and Ubuntu.

Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 
'trusty'), (100, 'trusty-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12.0-5-generic (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u munin-2.0.18/debian/changelog munin-2.0.18/debian/changelog
only in patch2:
unchanged:
--- munin-2.0.18.orig/debian/munin-node.upstart
+++ munin-2.0.18/debian/munin-node.upstart
@@ -0,0 +1,18 @@
+# vim: set ft=upstart ts=2 et:
+description "munin-node"
+author "Chuck Short <zul...@ubuntu.com>"
+
+start on (filesystem and net-device-up IFACE=lo)
+stop on runlevel [!2345]
+
+expect fork
+respawn
+
+pre-start script
+  install -m 0755 -o munin -g munin -d /var/run/munin
+end script
+
+script
+  [ -r /etc/default/munin-node ] && . /etc/default/munin-node
+  exec /usr/sbin/munin-node $DAEMON_ARGS
+end script
only in patch2:
unchanged:
--- munin-2.0.18.orig/debian/munin.upstart
+++ munin-2.0.18/debian/munin.upstart
@@ -0,0 +1,13 @@
+# vim:set ft=upstart ts=2 et:
+description "Munin"
+author "James Page <james.p...@ubuntu.com>"
+
+start on runlevel [2345]
+stop on runlevel [!2345]
+
+task
+
+script
+  # Ensure /var/run/munin exists with correct permissions
+  install -m 0755 -o munin -g munin -d /var/run/munin
+end script

Reply via email to