* [gentoo-commits] gentoo-x86 commit in net-analyzer/nsca/files: nsca.init
@ 2012-08-23 23:08 Diego Petteno (flameeyes)
0 siblings, 0 replies; only message in thread
From: Diego Petteno (flameeyes) @ 2012-08-23 23:08 UTC (permalink / raw
To: gentoo-commits
flameeyes 12/08/23 23:08:41
Modified: nsca.init
Log:
Make reload generic enough to share it with nrpe.
(Portage version: 2.2.0_alpha121/cvs/Linux x86_64)
Revision Changes Path
1.2 net-analyzer/nsca/files/nsca.init
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsca/files/nsca.init?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsca/files/nsca.init?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsca/files/nsca.init?r1=1.1&r2=1.2
Index: nsca.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nsca/files/nsca.init,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- nsca.init 23 Aug 2012 21:27:08 -0000 1.1
+++ nsca.init 23 Aug 2012 23:08:41 -0000 1.2
@@ -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 @@
}
reload() {
- ebegin "Reloading nsca"
+ ebegin "Reloading ${SVCNAME}"
kill -HUP `cat $(get_config pid_file)`
- eend $? "Failed to reload nsca"
+ eend $?
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-08-23 23:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-23 23:08 [gentoo-commits] gentoo-x86 commit in net-analyzer/nsca/files: nsca.init Diego Petteno (flameeyes)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox