showlog: Add usage() function and --help option
[nagios-reports-module.git] / op5build / preinstall
blob5479ef4d8faecd86c547507b916e4daad598ec9b
1 # If we're upgrading the module while Nagios makes a call
2 # into it, we'll end up with a core-dump due to some weirdness
3 # in dlopen(). If we're installing anew, we need to update the
4 # config and then restart. Either way, it's safe to stop it
5 # unconditionally here
6 sh /etc/rc.d/init.d/monitor stop || :
7 sh /etc/rc.d/init.d/monitor slay || :