Commit 714129e6 authored by Robert Ricci's avatar Robert Ricci

Sleep 10 seconds after restarting the event system to give the timestart

event a chance to get out.
parent df1f7a4d
......@@ -100,14 +100,13 @@ if (system "$PYTHON resetlinks.py $pid $eid") {
# gets fired again
#
print "##### Restarting the event system\n";
if (system "$EVENTSYS -e $pid,$eid stop") {
die "Error controlling the event system\n";
}
sleep 2;
if (system "$EVENTSYS -e $pid,$eid start") {
if (system "$EVENTSYS -e $pid,$eid replay") {
die "Error controlling the event system\n";
}
print "##### Waiting for event system to start\n";
sleep(10);
print "##### Restarting servers\n";
if (system "$TEVC -e $pid/$eid now allservers stop") {
die "Error running tevc\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment