diff options
author | Tobias Scherbaum <dertobi123@gentoo.org> | 2008-04-27 18:43:57 +0000 |
---|---|---|
committer | Tobias Scherbaum <dertobi123@gentoo.org> | 2008-04-27 18:43:57 +0000 |
commit | cd2e5c9700a196e027b46725f04922077b412ecf (patch) | |
tree | 9a252e8fbf2c8e11a28644f658e5aa95395bab0d /net-analyzer/nagios-nsca/files/nsca-nagios3 | |
parent | Fix for autoconf-2.62, bug #218704 (diff) | |
download | dertobi123-cd2e5c9700a196e027b46725f04922077b412ecf.tar.gz dertobi123-cd2e5c9700a196e027b46725f04922077b412ecf.tar.bz2 dertobi123-cd2e5c9700a196e027b46725f04922077b412ecf.zip |
moved nagios-3 ebuilds to gentoo-x86
svn path=/; revision=37
Diffstat (limited to 'net-analyzer/nagios-nsca/files/nsca-nagios3')
-rw-r--r-- | net-analyzer/nagios-nsca/files/nsca-nagios3 | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/net-analyzer/nagios-nsca/files/nsca-nagios3 b/net-analyzer/nagios-nsca/files/nsca-nagios3 deleted file mode 100644 index bef0cb7..0000000 --- a/net-analyzer/nagios-nsca/files/nsca-nagios3 +++ /dev/null @@ -1,36 +0,0 @@ -#!/sbin/runscript - -opts="${opts} reload" - -depend() { - need net -} - -start() { - ebegin "Starting nsca" - start-stop-daemon --start --quiet --name nsca \ - --startas /usr/bin/nsca \ - -c nagios:nagios \ - -- -c /etc/nagios/nsca.cfg \ - --daemon - eend $? "Failed to Start nsca" -} - -stop() { - ebegin "Stopping nsca" - start-stop-daemon --stop --quiet -n nsca - eend $? "Failed to Stop nsca" -} - -reload() { - ebegin "Reloading nsca" - kill -HUP `pgrep nsca` - eend $? "Failed to reload nsca" -} - -restart() { - ebegin "Restarting nsca" - svc_stop - svc_start - eend $? "Failed to Restart nsca" -} |