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
a239e6ec
Commit
a239e6ec
authored
Aug 30, 2004
by
Leigh B. Stoller
Browse files
Add event scheduler restart to opsreboot now that things are running okay.
Add a minor print state matent to eventsys_start.
parent
cefba647
Changes
2
Hide whitespace changes
Inline
Side-by-side
tbsetup/eventsys_start.in
View file @
a239e6ec
...
...
@@ -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
);
...
...
utils/opsreboot.in
View file @
a239e6ec
...
...
@@ -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.
",
...
...
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