Return to nrpe CVS log | Up to [Repository] / StartupItems / nrpe |
nrpe startup item
#!/bin/sh . /etc/rc.common ## # Start up the ZOPE database server on Mac OS X / Darwin # (adapted from Marc Lyanage's PostgreSQL StartupItem) # # License # ------- # # The PostgreSQL BSD-style license applies to this file # NRPEDIR=/usr/local/nagios StartService () { if [ "${NRPE:=-YES-}" = "-YES-" ]; then ConsoleMessage "Starting NRPE server" $NRPEDIR/bin/nrpe -c $NRPEDIR/etc/nrpe.cfg -d fi } RunService "$1"