[Pkg-nagios-changes] [pkg-nagios] r1562 - nagios-nsca/trunk/debian

Alexander Wirt formorer at alioth.debian.org
Fri Sep 12 06:31:00 UTC 2008


tags 466261 pending
tags 495034 pending
tags 496810 pending
thanks

Author: formorer
Date: 2008-09-12 06:31:00 +0000 (Fri, 12 Sep 2008)
New Revision: 1562

Modified:
   nagios-nsca/trunk/debian/changelog
   nagios-nsca/trunk/debian/nsca.init
   nagios-nsca/trunk/debian/postinst
Log:
Update postinst to nagios3
Add LSB dependency stuff to initscript


Modified: nagios-nsca/trunk/debian/changelog
===================================================================
--- nagios-nsca/trunk/debian/changelog	2008-09-12 06:26:41 UTC (rev 1561)
+++ nagios-nsca/trunk/debian/changelog	2008-09-12 06:31:00 UTC (rev 1562)
@@ -4,10 +4,12 @@
   * new German debconf translations, from Helge Kreutzmann (closes: #414590).
 
   [ Alexander Wirt ]
-  * Don't fail if nsca is already started or stopped 
+  * Don't fail if nsca is already started or stopped (Closes: #496810)
   * Add myself to uploaders
+  * Add LSB dependency info to initscript (Closes: #466261) 
+  * Update postinst to nagios3 (Closes: #495034)
 
- -- Alexander Wirt <formorer at debian.org>  Fri, 12 Sep 2008 08:25:29 +0200
+ -- Alexander Wirt <formorer at debian.org>  Fri, 12 Sep 2008 08:28:29 +0200
 
 nsca (2.6-3) unstable; urgency=low
 

Modified: nagios-nsca/trunk/debian/nsca.init
===================================================================
--- nagios-nsca/trunk/debian/nsca.init	2008-09-12 06:26:41 UTC (rev 1561)
+++ nagios-nsca/trunk/debian/nsca.init	2008-09-12 06:31:00 UTC (rev 1562)
@@ -1,4 +1,11 @@
 #!/bin/sh
+### BEGIN INIT INFO
+# Provides:          nsca
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+### END INIT INFO
 
 # simple debian init script for nsca
 # by sean finney <seanius at debian.org>

Modified: nagios-nsca/trunk/debian/postinst
===================================================================
--- nagios-nsca/trunk/debian/postinst	2008-09-12 06:26:41 UTC (rev 1561)
+++ nagios-nsca/trunk/debian/postinst	2008-09-12 06:31:00 UTC (rev 1562)
@@ -45,7 +45,7 @@
 	;;
 	# anything else is "undefined", so we then use our defaults
 	*)
-		if which nagios >/dev/null 2>&2 || which nagios2 >/dev/null; then
+		if which nagios >/dev/null 2>&2 || which nagios3 >/dev/null; then
 			echo "true"
 		else
 			echo "false"




More information about the Pkg-nagios-changes mailing list