Skip to content
This repository has been archived by the owner on Oct 15, 2019. It is now read-only.

Fixed init script issues #70

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

markunsworth
Copy link

Replaced use of $LABEL with $NAME as $LABEL does not exist so results in annoying output. e.g

is running

instead of:

supervisord is running

Mark Unsworth added 2 commits September 27, 2014 21:11
$LABEL does not exist so results in annoying output. e.g

    is running

 instead of:

    supervisord is running
…able. Set the default value to be 10 secs the same as the default stopwait time in the process configuration
@markunsworth
Copy link
Author

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.

@markunsworth markunsworth changed the title Replaced use of $LABEL with $NAME Fixed init script issues Sep 27, 2014
@markunsworth
Copy link
Author

Added an explicit check to see if supervisor is running when performing a restart and force_stop if it is.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant