2005-03-04 18:45:10 +01:00
|
|
|
@exec mkdir -p /var/run/munin && chown munin:munin /var/run/munin
|
|
|
|
@exec mkdir -p /var/log/munin-main && chown munin:munin /var/log/munin-main
|
|
|
|
@exec mkdir -p %D/www/data/munin && chown munin:munin %D/www/data/munin
|
|
|
|
@exec mkdir -p %D/var/munin && chown munin:munin %D/var/munin
|
2004-03-02 16:52:48 +01:00
|
|
|
bin/munin-cron
|
2005-03-04 18:45:10 +01:00
|
|
|
@unexec if cmp -s %D/etc/munin/munin.conf.sample %D/etc/munin/munin.conf; then rm -f %D/etc/munin/munin.conf; fi
|
|
|
|
etc/munin/munin.conf.sample
|
|
|
|
etc/munin/templates/definitions.html
|
|
|
|
@unexec if cmp -s %D/etc/munin/templates/logo.png %D/www/data/munin/logo.png; then rm -f %D/www/data/munin/logo.png; fi
|
2004-06-04 00:38:35 +02:00
|
|
|
etc/munin/templates/logo.png
|
2005-03-04 18:45:10 +01:00
|
|
|
etc/munin/templates/munin-comparison-day.tmpl
|
|
|
|
etc/munin/templates/munin-comparison-month.tmpl
|
|
|
|
etc/munin/templates/munin-comparison-week.tmpl
|
|
|
|
etc/munin/templates/munin-comparison-year.tmpl
|
2004-03-02 16:52:48 +01:00
|
|
|
etc/munin/templates/munin-domainview.tmpl
|
|
|
|
etc/munin/templates/munin-nodeview.tmpl
|
|
|
|
etc/munin/templates/munin-overview.tmpl
|
|
|
|
etc/munin/templates/munin-serviceview.tmpl
|
2005-03-04 18:45:10 +01:00
|
|
|
@unexec if cmp -s %D/etc/munin/templates/style.css %D/www/data/munin/style.css; then rm -f %D/www/data/munin/style.css; fi
|
2004-03-02 16:52:48 +01:00
|
|
|
etc/munin/templates/style.css
|
2004-04-20 23:35:54 +02:00
|
|
|
%%SITE_PERL%%/Munin.pm
|
2004-03-02 16:52:48 +01:00
|
|
|
share/munin/munin-graph
|
|
|
|
share/munin/munin-html
|
2005-03-04 18:45:10 +01:00
|
|
|
share/munin/munin-limits
|
2004-03-02 16:52:48 +01:00
|
|
|
share/munin/munin-update
|
2005-03-04 18:45:10 +01:00
|
|
|
www/cgi-bin/munin-cgi-graph
|
|
|
|
@unexec rm -f /var/run/munin/munin-*.lock
|
|
|
|
@unexec rmdir /var/run/munin 2>/dev/null || true
|
|
|
|
@unexec rmdir /var/log/munin-main 2>/dev/null || true
|
2006-01-22 04:01:03 +01:00
|
|
|
@dirrmtry www/data/munin
|
|
|
|
@dirrmtry www/data
|
|
|
|
@dirrmtry www/cgi-bin
|
|
|
|
@dirrmtry var/munin
|
|
|
|
@dirrmtry share/munin
|
|
|
|
@dirrmtry etc/munin/templates
|
|
|
|
@dirrmtry etc/munin
|
2004-12-14 02:43:10 +01:00
|
|
|
@unexec echo
|
|
|
|
@unexec echo '********************************************************************'
|
|
|
|
@unexec echo "If you want to *completely* remove munin-main, you have to"
|
|
|
|
@unexec echo
|
2005-03-04 18:45:10 +01:00
|
|
|
@unexec if [ -d %D/www/data/munin ]; then echo " rm -rf %D/www/data/munin \\"; fi
|
|
|
|
@unexec if [ -d %D/var/munin ]; then ls -d %D/var/munin/* | grep -v plugin-state | fmt -40 | sed -e 's/^/ /' -e 's/$/ \\/'; fi
|
2004-12-14 02:43:10 +01:00
|
|
|
@unexec if [ -f %D/etc/munin/munin.conf ]; then echo " %D/etc/munin/munin.conf \\"; fi
|
|
|
|
@unexec if [ -d %D/etc/munin/templates ]; then echo " %D/etc/munin/templates \\"; fi
|
2005-03-04 18:45:10 +01:00
|
|
|
@unexec echo " /var/log/munin-main"
|
2004-12-14 02:43:10 +01:00
|
|
|
@unexec echo
|
|
|
|
@unexec echo "If you have already deinstalled munin-node, you can also"
|
|
|
|
@unexec echo
|
|
|
|
@unexec echo " rmdir %D/etc/munin %D/var/munin"
|
|
|
|
@unexec echo
|
|
|
|
@unexec echo "These files and directories have to be left on the system because"
|
|
|
|
@unexec echo "you may be performing an update. This process can't tell."
|
|
|
|
@unexec echo '********************************************************************'
|
|
|
|
@unexec echo
|