diff options
Diffstat (limited to 'net-analyzer/nagios-nrpe/files/nrpe-1.8')
-rw-r--r-- | net-analyzer/nagios-nrpe/files/nrpe-1.8 | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/net-analyzer/nagios-nrpe/files/nrpe-1.8 b/net-analyzer/nagios-nrpe/files/nrpe-1.8 deleted file mode 100644 index dfb4f832138e..000000000000 --- a/net-analyzer/nagios-nrpe/files/nrpe-1.8 +++ /dev/null @@ -1,28 +0,0 @@ -#!/sbin/runscript - -depend() { - need net -} - -start() { - ebegin "Starting nrpe" - start-stop-daemon --start --quiet --name nrpe \ - --startas /usr/nagios/bin/nrpe \ - -c nagios:nagios \ - -- -c /etc/nagios/nrpe.cfg \ - --daemon - eend $? "Failed to Start nrpe" -} - -stop() { - ebegin "Stopping nrpe" - start-stop-daemon --stop --quiet -n nrpe - eend $? "Failed to Stop nrpe" -} - -restart() { - ebegin "Restarting nrpe" - svc_stop - svc_start - eend $? "Failed to Restart nrpe" -} |