trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject svn commit: r1228511 - in /trafficserver/traffic/trunk: CHANGES rc/trafficserver.in
Date Sat, 07 Jan 2012 00:23:29 GMT
Author: zwoop
Date: Sat Jan  7 00:23:29 2012
New Revision: 1228511

URL: http://svn.apache.org/viewvc?rev=1228511&view=rev
Log:
TS-1052 trafficserver restart does not work (needs to let old process die).
Author: Billy Viera

Modified:
    trafficserver/traffic/trunk/CHANGES
    trafficserver/traffic/trunk/rc/trafficserver.in

Modified: trafficserver/traffic/trunk/CHANGES
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/CHANGES?rev=1228511&r1=1228510&r2=1228511&view=diff
==============================================================================
--- trafficserver/traffic/trunk/CHANGES (original)
+++ trafficserver/traffic/trunk/CHANGES Sat Jan  7 00:23:29 2012
@@ -1,5 +1,8 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 3.1.2
+  *) [TS-1052] trafficserver restart does not work (needs to let the old
+   process die). Author: Billy Viera
+
   *) [TS-1044] Fix TSVConn{Read,Write}VIOGet in UnixNetVConnection.
     Author: James Peach.
 

Modified: trafficserver/traffic/trunk/rc/trafficserver.in
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/rc/trafficserver.in?rev=1228511&r1=1228510&r2=1228511&view=diff
==============================================================================
--- trafficserver/traffic/trunk/rc/trafficserver.in (original)
+++ trafficserver/traffic/trunk/rc/trafficserver.in Sat Jan  7 00:23:29 2012
@@ -72,6 +72,7 @@ test -x $ESED || ESED=sed
 PATH=/usr/sbin:/usr/bin:/sbin:/bin
 DESC="start/stop Traffic Server"
 NAME=trafficserver
+SLEEP_TIME=5
 TS_PREFIX="@prefix@"
 
 TS_ROOT=${TS_ROOT:-$TS_PREFIX}
@@ -347,6 +348,7 @@ case "$1" in
       do_stop
       case "$?" in
           0|1)
+            sleep $SLEEP_TIME
             do_start
             case "$?" in
               0) log_end_msg 0 ;;
@@ -362,6 +364,7 @@ case "$1" in
     else
       # This is the typical process for restart
       sh $0 'stop'
+      sleep $SLEEP_TIME
       sh $0 'start'
     fi
   ;;



Mime
View raw message