summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-04-04 17:47:42 +0000
committerJeroen Roovers <jer@gentoo.org>2012-04-04 17:47:42 +0000
commit184ad4d8ffa8ac48aed0cdc4786fbbf74ee46434 (patch)
tree021ab2072ecb6821b529bfb124c64dc5e65172c0 /net-analyzer/nagios-nrpe/files
parentadd my name back (diff)
downloadgentoo-2-184ad4d8ffa8ac48aed0cdc4786fbbf74ee46434.tar.gz
gentoo-2-184ad4d8ffa8ac48aed0cdc4786fbbf74ee46434.tar.bz2
gentoo-2-184ad4d8ffa8ac48aed0cdc4786fbbf74ee46434.zip
Unused.
(Portage version: 2.2.0_alpha99/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/nagios-nrpe/files')
-rw-r--r--net-analyzer/nagios-nrpe/files/nrpe36
1 files changed, 0 insertions, 36 deletions
diff --git a/net-analyzer/nagios-nrpe/files/nrpe b/net-analyzer/nagios-nrpe/files/nrpe
deleted file mode 100644
index 768d860a7b17..000000000000
--- a/net-analyzer/nagios-nrpe/files/nrpe
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/sbin/runscript
-
-opts="${opts} reload"
-
-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"
-}
-
-reload() {
- ebegin "Reloading nrpe"
- kill -HUP `pgrep nrpe | head -1`
- eend $? "Failed to reload nrpe"
-}
-
-restart() {
- ebegin "Restarting nrpe"
- svc_stop
- svc_start
- eend $? "Failed to Restart nrpe"
-}