Control: tags -1 + patch

Thanks to <URL: http://forkfedora.org/ >, I got a clue how to fix the
systemd service for munin-node to use DAEMON_ARGS from
/etc/default/munin-node.  A quick test later I can confirm that this
patch will solve this problem for Debian Edu:

--- /lib/systemd/system/munin-node.service.orig 2014-10-21 11:11:12.466993442 
+0200
+++ /lib/systemd/system/munin-node.service      2014-10-21 11:10:00.043903923 
+0200
@@ -4,7 +4,8 @@
 [Service]
 Type=forking
 Restart=always
-ExecStart=/usr/sbin/munin-node
+EnvironmentFile=-/etc/default/munin-node
+ExecStart=/usr/sbin/munin-node $DAEMON_ARGS
 PIDFile=/run/munin/munin-node.pid
 
 [Install]

-- 
Happy hacking
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to