-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make stop
wait for the actual termination of the children processes
#16
Conversation
... and prepare the next commit
Also, an option has been introduced in That variable is available in the sections |
lib/children.c
Outdated
if (sd->first_kill_attempt > 0 && (now - sd->first_kill_attempt > SUPERVISOR_DEFAULT_TIMEOUT_KILL)) { | ||
if (sd->delay_before_KILL > 0 | ||
&& sd->first_kill_attempt > 0 | ||
&& (now - sd->first_kill_attempt) > sd->delay_before_KILL) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The previous 2 lines are indented with spaces.
lib/gridinit-utils.h
Outdated
/** | ||
* starts allt the stopped services in a state proper to be restarted | ||
*/ | ||
/* starts allt the stopped services in a state proper to be restarted */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
allt -> all
{ "status3", command_status2 }, | ||
{ "start", command_start }, | ||
{ "stop", command_stop }, | ||
{ "kill", command_kill }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To stay within the spirit, it should have been called "stop2". 😉
Helps fixing #13
The old-style "fire & forget"
stop
command is still available under the namekill
.