Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/nsca/files: nsca.init
Date: Thu, 23 Aug 2012 23:09:01
Message-Id: 20120823230841.62128204DF@flycatcher.gentoo.org
1 flameeyes 12/08/23 23:08:41
2
3 Modified: nsca.init
4 Log:
5 Make reload generic enough to share it with nrpe.
6
7 (Portage version: 2.2.0_alpha121/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.2 net-analyzer/nsca/files/nsca.init
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsca/files/nsca.init?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsca/files/nsca.init?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nsca/files/nsca.init?r1=1.1&r2=1.2
15
16 Index: nsca.init
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nsca/files/nsca.init,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- nsca.init 23 Aug 2012 21:27:08 -0000 1.1
23 +++ nsca.init 23 Aug 2012 23:08:41 -0000 1.2
24 @@ -1,7 +1,7 @@
25 #!/sbin/runscript
26 # Copyright 1999-2012 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsca/files/nsca.init,v 1.1 2012/08/23 21:27:08 flameeyes Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nsca/files/nsca.init,v 1.2 2012/08/23 23:08:41 flameeyes Exp $
30
31 : ${CFGFILE:=/etc/nagios/nsca.cfg}
32
33 @@ -29,7 +29,7 @@
34 }
35
36 reload() {
37 - ebegin "Reloading nsca"
38 + ebegin "Reloading ${SVCNAME}"
39 kill -HUP `cat $(get_config pid_file)`
40 - eend $? "Failed to reload nsca"
41 + eend $?
42 }