summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-08-23 23:08:41 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-08-23 23:08:41 +0000
commit38bc26531020c0689b0dc5d90d59479bed4ca161 (patch)
treef1bc567e706fbef092c10d233696fe17a7164c42 /net-analyzer/nsca
parentRemove moved packages. (diff)
downloadgentoo-2-38bc26531020c0689b0dc5d90d59479bed4ca161.tar.gz
gentoo-2-38bc26531020c0689b0dc5d90d59479bed4ca161.tar.bz2
gentoo-2-38bc26531020c0689b0dc5d90d59479bed4ca161.zip
Make reload generic enough to share it with nrpe.
(Portage version: 2.2.0_alpha121/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/nsca')
-rw-r--r--net-analyzer/nsca/ChangeLog5
-rw-r--r--net-analyzer/nsca/files/nsca.init6
2 files changed, 7 insertions, 4 deletions
diff --git a/net-analyzer/nsca/ChangeLog b/net-analyzer/nsca/ChangeLog
index 0b4ebbfc6504..3cd2ec74e8fc 100644
--- a/net-analyzer/nsca/ChangeLog
+++ b/net-analyzer/nsca/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/nsca
# Copyright 2002-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsca/ChangeLog,v 1.3 2012/08/23 21:30:30 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsca/ChangeLog,v 1.4 2012/08/23 23:08:41 flameeyes Exp $
+
+ 23 Aug 2012; Diego E. Pettenò <flameeyes@gentoo.org> files/nsca.init:
+ Make reload generic enough to share it with nrpe.
23 Aug 2012; Diego E. Pettenò <flameeyes@gentoo.org> nsca-2.7.2-r103.ebuild:
Fix typos.
diff --git a/net-analyzer/nsca/files/nsca.init b/net-analyzer/nsca/files/nsca.init
index 3c156aa965d4..36c72d5c5700 100644
--- a/net-analyzer/nsca/files/nsca.init
+++ b/net-analyzer/nsca/files/nsca.init
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsca/files/nsca.init,v 1.1 2012/08/23 21:27:08 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsca/files/nsca.init,v 1.2 2012/08/23 23:08:41 flameeyes Exp $
: ${CFGFILE:=/etc/nagios/nsca.cfg}
@@ -29,7 +29,7 @@ depend() {
}
reload() {
- ebegin "Reloading nsca"
+ ebegin "Reloading ${SVCNAME}"
kill -HUP `cat $(get_config pid_file)`
- eend $? "Failed to reload nsca"
+ eend $?
}