On 10/03/2013 06:17 PM, Matthew Hall wrote:
On Thu, Oct 03, 2013 at 09:38:50PM +0000, Timothy Jones wrote:
The 'exec' is to make sure that the vncserver process overlays the shell
script PID, and does not result in an intermediate subshell between
supervisor and vncserver.  This way, the vncserver remains a direct child
process of supervisor, not a grandchild.  This is important because
supervisor sends its termination signals only to its direct children.

Supervisor could greatly benefit from a small extension to allow sending its
kill signals to the child's process group (by just taking the negative
absolute value of the child PID). This would make it much more reliable for
some of my applications of Supervisor as well as what's being discussed here.

See the "killasgroup" program option.

- C

_______________________________________________
Supervisor-users mailing list
Supervisor-users@lists.supervisord.org
https://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to