Open markunsworth opened 9 years ago
Also made the DODTIME (wait time when restarting) configurable. Based the default on the default stopwaitsecs time in the process configuration.
This should reduce issues when restarting and supervisor hasn't actually stopped, due to processes having not stopped, when the subsequent start command is called.
Added an explicit check to see if supervisor is running when performing a restart and force_stop if it is.
Replaced use of
$LABEL
with$NAME
as$LABEL
does not exist so results in annoying output. e.ginstead of: