Title: [opsview] [13187] Log to 'upstart' instead of 'opsview_daemon'.
Revision
13187
Author
pknight
Date
2013-08-09 11:17:12 +0100 (Fri, 09 Aug 2013)

Log Message

Log to 'upstart' instead of 'opsview_daemon'.

Modified Paths


Modified: trunk/opsview-core/bin/opsview_daemon
===================================================================
--- trunk/opsview-core/bin/opsview_daemon	2013-08-08 23:57:45 UTC (rev 13186)
+++ trunk/opsview-core/bin/opsview_daemon	2013-08-09 10:17:12 UTC (rev 13187)
@@ -3,7 +3,7 @@
 # Foreground daemon that waits to catch SIGTERM to stop Opsview. Primarily for
 # Ubuntu's Upstart.
 
-LOG='/var/log/opsview/opsview_daemon'
+LOG='/var/log/opsview/upstart'
 
 function stop_opsview {
     echo "TERMINATE signal detected, stopping Opsview" >> $LOG

Modified: trunk/opsview-core/installer/opsview-upstart.conf
===================================================================
--- trunk/opsview-core/installer/opsview-upstart.conf	2013-08-08 23:57:45 UTC (rev 13186)
+++ trunk/opsview-core/installer/opsview-upstart.conf	2013-08-09 10:17:12 UTC (rev 13187)
@@ -1,4 +1,4 @@
-# Opsview service for Ubuntu's Upstart
+# opsview service for Ubuntu's Upstart
 
 description "Opsview server"
 author      "Opsview Ltd."
@@ -12,7 +12,7 @@
 
 pre-start script
     if [ ! -r /var/run/mysqld/mysqld.pid ]; then
-        echo "MySQL needs to be running" >> /var/log/opsview/opsview_daemon
+        echo "MySQL needs to be running" >> /var/log/opsview/upstart
         exit 1
     fi
 end script

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

Reply via email to