[Pkg-nagios-changes] [pkg-nagios] r1488 - nagios3/trunk/debian

Alexander Wirt formorer at alioth.debian.org
Tue Jun 10 19:27:12 UTC 2008


tags 481334 pending
thanks

Author: formorer
Date: 2008-06-10 19:27:12 +0000 (Tue, 10 Jun 2008)
New Revision: 1488

Added:
   nagios3/trunk/debian/nagios3.postinst
Modified:
   nagios3/trunk/debian/changelog
Log:
Start nagios3 in nagios3.postinst (481334)


Modified: nagios3/trunk/debian/changelog
===================================================================
--- nagios3/trunk/debian/changelog	2008-06-10 19:22:40 UTC (rev 1487)
+++ nagios3/trunk/debian/changelog	2008-06-10 19:27:12 UTC (rev 1488)
@@ -3,6 +3,7 @@
   [ Alexander Wirt ]
   * Remove bashism from rules file (Closes: #479324, #478412)
   * Set p1.pl DEBUG_LOG_PATH to /var/log/nagios3/ (Closes: #478877)
+  * Start nagios3 in nagios3.postinst (Closes: #481334)
 
   [ Jan Wagner ]
   * New upstream release (Closes: #485439)
@@ -19,7 +20,7 @@
     initscript, thanks Stephen Gran <sgran at debian.org> for providing this fix
     (Closes: #479329)
 
- -- Alexander Wirt <formorer at debian.org>  Sun, 04 May 2008 12:35:16 +0200
+ -- Alexander Wirt <formorer at debian.org>  Tue, 10 Jun 2008 21:26:00 +0200
 
 nagios3 (3.0.1-1) unstable; urgency=low
 

Added: nagios3/trunk/debian/nagios3.postinst
===================================================================
--- nagios3/trunk/debian/nagios3.postinst	                        (rev 0)
+++ nagios3/trunk/debian/nagios3.postinst	2008-06-10 19:27:12 UTC (rev 1488)
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+#if we stop nagios3 in nagios3.prerm we should also start it here..
+#(#481334)
+if [ -x "/etc/init.d/nagios3" ]; then
+	if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
+		invoke-rc.d nagios3 start || true
+	else
+		/etc/init.d/nagios3 start || true
+	fi
+fi
+
+#DEBHELPER#




More information about the Pkg-nagios-changes mailing list