#!@@GOODSH@@

# This used to test if the executables were installed.  But that is
# perfectly redundant and supresses errors that the admin should see.

@@LIBDIR@@/munin-update $@ || exit 1

# The result of munin-limits is needed by munin-html but not by
# munin-graph.  So run it in the background now, it will be done
# before munin-graph.

@@LIBDIR@@/munin-limits $@ 

# We always launch munin-html.
# It is a noop if html_strategy is "cgi"
nice @@LIBDIR@@/munin-html $@ || exit 1

# The result of munin-html is needed for munin-graph.
# It is a noop if graph_strategy is "cgi"
nice @@LIBDIR@@/munin-graph --cron $@ || exit 1
