Commit f74f714b authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Pause a moment after sending kill in RestartDaemon();

parent 1aa95140
...@@ -604,6 +604,7 @@ sub RestartDaemon($) { ...@@ -604,6 +604,7 @@ sub RestartDaemon($) {
return 1; return 1;
} }
SignalDaemon($name, 'TERM'); SignalDaemon($name, 'TERM');
sleep(1);
if (ExecQuiet("$TBROOT/sbin/$name")) { if (ExecQuiet("$TBROOT/sbin/$name")) {
PhaseSucceed("$name started"); PhaseSucceed("$name started");
} }
......
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