Hi,

Any objections to a "stopasgroup" option?

I've run into a case where I want to run Flask in debug mode under
supervisord in development and the parent Flask process doesn't propagate
the SIGTERM or SIGINT signals to it's child,
leaving it orphaned. This doesn't happen on the command line b/c the shell
sends SIGINT to the entire foreground process group.

For cases like this, it would be useful to be able to set an option, called
stopasgroup, that sends the stop signal to the whole process group.

Cheers,

Roger
_______________________________________________
Supervisor-users mailing list
[email protected]
http://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to