3 # Provides: xvm-munin-remote-config
4 # Required-Start: $local_fs $remote_fs
5 # Required-Stop: $local_fs $remote_fs
6 # Default-Start: 2 3 4 5
8 # Short-Description: XVM Munin config
12 PACKAGE=xvm-munin-remote-config
13 PARENTPACKAGE=munin-node
14 GEN_FILES=/etc/munin/munin-node.conf.xvm
16 dpkg -s "$PACKAGE" >/dev/null 2>/dev/null || exit 0
18 . /lib/init/gen-files.sh
19 . /lib/init/std-init.sh
24 mako-render /usr/share/xvm-munin-remote-config/loggrep_remctl.mako >/etc/munin/plugin-conf.d/loggrep_remctl
26 for p in "${PARENTPACKAGE[@]}"; do
27 invoke-rc.d "$p" restart
36 for p in "${PARENTPACKAGE[@]}"; do