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
6 sh /etc/rc.d/init.d/monitor stop || :
7 sh /etc/rc.d/init.d/monitor slay || :