Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
714129e6
Commit
714129e6
authored
Apr 20, 2006
by
Robert Ricci
Browse files
Sleep 10 seconds after restarting the event system to give the timestart
event a chance to get out.
parent
df1f7a4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
pelab/start-experiment
View file @
714129e6
...
...
@@ -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
";
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment