Title: [opsview] [13167] Undo commented, it's OK.
Revision
13167
Author
pknight
Date
2013-08-07 11:06:09 +0100 (Wed, 07 Aug 2013)

Log Message

Undo commented, it's OK.

Modified Paths


Modified: trunk/opsview-core/debian/postinst
===================================================================
--- trunk/opsview-core/debian/postinst	2013-08-07 10:02:39 UTC (rev 13166)
+++ trunk/opsview-core/debian/postinst	2013-08-07 10:06:09 UTC (rev 13167)
@@ -133,13 +133,13 @@
   test -f /usr/local/nagios/installer/postinstall_root && /usr/local/nagios/installer/postinstall_root 3>/dev/null
   test -f /usr/local/nagios/installer/postinstall && su - nagios -c '/usr/local/nagios/installer/postinstall' 3>/dev/null
 
-  # echo "Configuring Upstart"
-  # # Remove current startup and shutdown scripts from init.
-  # rm -f /etc/init.d/opsview
-  # update-rc.d opsview remove
-  # # Create Upstart files.
-  # ln -s /lib/init/upstart-job /etc/init.d/opsview
-  # cp /usr/local/nagios/installer/opsview.conf /etc/init/opsview.conf
+  echo "Configuring Upstart"
+  # Remove current startup and shutdown scripts from init.
+  rm -f /etc/init.d/opsview
+  update-rc.d opsview remove
+  # Create Upstart files.
+  ln -s /lib/init/upstart-job /etc/init.d/opsview
+  cp /usr/local/nagios/installer/opsview.conf /etc/init/opsview.conf
 
   return 0
 }

_______________________________________________
Opsview-checkins mailing list
Opsview-checkins@lists.opsview.org
http://lists.opsview.org/lists/listinfo/opsview-checkins

Reply via email to