Commit a239e6ec authored by Leigh B. Stoller's avatar Leigh B. Stoller

Add event scheduler restart to opsreboot now that things are running okay.

Add a minor print state matent to eventsys_start.
parent cefba647
......@@ -2,7 +2,7 @@
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# Copyright (c) 2000-2002, 2004 University of Utah and the Flux Group.
# All rights reserved.
#
......@@ -117,6 +117,7 @@ while (($pid, $eid, $uid, $gid) = $query_result->fetchrow_array()) {
$EUID = $UID = $unix_uid;
$ENV{'USER'} = $uid;
print "Starting event scheduler for $pid/$eid ...\n";
system("$evcontrol start $pid $eid");
if ($?) {
failed("$evcontrol failed, status=$?", $pid, $eid);
......
......@@ -99,7 +99,10 @@ SENDMAIL($TBOPS, "OPS has rebooted",
"OPS has rebooted.\n".
"Starting up services. Stay tuned for more info ...");
#
# restart the event servers on ops.
#
system("$TB/sbin/eventsys_start");
SENDMAIL($TBOPS, "OPS has rebooted",
"OPS has rebooted. Services have been restarted.",
......
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