Commit 4d67ed89 authored by Robert Ricci's avatar Robert Ricci

Make sure to stop all stubs and monitors

parent 2e02a0fc
......@@ -19,7 +19,13 @@ my ($pid, $eid) = @ARGV;
# Make sure any old stubs/monitors are dead
#
print "##### Stopping old stubs and monitors\n";
if (system "$TEVC -e $pid/$eid now allgroup stop") {
if (system "$TEVC -e $pid/$eid now plabstubs stop") {
die "Error running tevc\n";
}
if (system "$TEVC -e $pid/$eid now planetstubs stop") {
die "Error running tevc\n";
}
if (system "$TEVC -e $pid/$eid now monitorgroup stop") {
die "Error running tevc\n";
}
......
......@@ -18,7 +18,13 @@ my ($pid, $eid) = @ARGV;
# Stop the stubs and monitors
#
print "##### Stopping stubs and monitors\n";
if (system "$TEVC -e $pid/$eid now allgroup stop") {
if (system "$TEVC -e $pid/$eid now plabstubs stop") {
die "Error running tevc\n";
}
if (system "$TEVC -e $pid/$eid now planetstubs stop") {
die "Error running tevc\n";
}
if (system "$TEVC -e $pid/$eid now monitorgroup stop") {
die "Error running tevc\n";
}
......@@ -32,6 +38,18 @@ if (system "$TEVC -e $pid/$eid now planetc-tracemon snapshot") {
if (system "$TEVC -e $pid/$eid now planetc-tracemon stop") {
die "Error running tevc\n";
}
if (system "$TEVC -e $pid/$eid now plabc-tracemon snapshot") {
die "Error running tevc\n";
}
if (system "$TEVC -e $pid/$eid now plabc-tracemon stop") {
die "Error running tevc\n";
}
if (system "$TEVC -e $pid/$eid now elabc-tracemon snapshot") {
die "Error running tevc\n";
}
if (system "$TEVC -e $pid/$eid now elabc-tracemon stop") {
die "Error running tevc\n";
}
#
# Stop running servers
......
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