[Lsb-messages] /var/www/bzr/lsb/devel/puppet-lsb r81: Handle buildbot verbosity better in the init script.

Jeff Licquia licquia at linuxfoundation.org
Sat Jan 28 05:54:20 UTC 2012


------------------------------------------------------------
revno: 81
committer: Jeff Licquia <licquia at linuxfoundation.org>
branch nick: puppet-lsb
timestamp: Sat 2012-01-28 00:54:20 -0500
message:
  Handle buildbot verbosity better in the init script.
modified:
  modules/buildbot/files/buildbot.init
-------------- next part --------------
=== modified file 'modules/buildbot/files/buildbot.init'
--- a/modules/buildbot/files/buildbot.init	2012-01-28 05:32:31 +0000
+++ b/modules/buildbot/files/buildbot.init	2012-01-28 05:54:20 +0000
@@ -19,21 +19,21 @@
 case "$1" in
   start)
     echo -n "Checking configuration for $PRG: "
-    $DAEMON checkconfig /opt/buildbot/lsb-master > /tmp/buildbot-check.log 2>&1
+    $DAEMON checkconfig /opt/buildbot/lsb-master >> /tmp/buildbot-start.log 2>&1
     if [ $? -eq 0 ]; then
         echo "done"
     else
-        echo "errors found; check /tmp/buildbot-check.log for details"
+        echo "errors found; check /tmp/buildbot-start.log for details"
         exit 1
     fi
     echo -n "Starting $PRG: "
-    $DAEMON start /opt/buildbot/lsb-master
+    $DAEMON start /opt/buildbot/lsb-master 2>>/tmp/buildbot-start.log >/dev/null
     RETVAL=$?
     echo "done"
     ;;
   stop)
     echo -n "Stopping $PRG: "
-    $DAEMON stop /opt/buildbot/lsb-master
+    $DAEMON stop /opt/buildbot/lsb-master >> /tmp/buildbot-start.log 2>&1
     RETVAL=$?
     echo "done"
     ;;



More information about the lsb-messages mailing list