* Luk Claes
> In Debian-Edu one wants to add a line 'allow ^10\.0\.2\.2$'
I see. Well, that certainly doesn't belong in the default
configuration file. I have a suggestion, though. What if I add the
following code (or something similar) to /etc/init.d/munin-node:
--- munin-node.init (revision 1134)
+++ munin-node.init (working copy)
@@ -43,6 +43,7 @@
}
. /lib/lsb/init-functions
+[ -r /etc/default/munin-node ] && . /etc/default/munin-node
if [ ! -x $DAEMON ]; then
log_failure_msg "Munin-Node appears to be uninstalled."
@@ -86,7 +87,7 @@
log_end_msg 0
exit 0
fi
- start_daemon -p $PIDFILE $DAEMON
+ start_daemon -p $PIDFILE $DAEMON $DAEMON_ARGS
ret=$?
# start_daemon() isn't thorough enough, ensure the daemon has been
# started manually
Then your package could include the file /etc/default/munin-node,
containing «DAEMON_ARGS="--config /etc/debian-edu/munin-node.conf"».
This file could be shipped as a conffile, or you could copy the
default munin-node.conf in the postinst and apply your changes to the
copy. Does this sound like an acceptable solution to you?
Regards
--
Tore Anderson