Hi Bar, The "stopasgroup" option was added in 3.0b1.
https://github.com/Supervisor/supervisor/blob/master/CHANGES.txt#L23 Cheers, Roger On Wed, Jun 6, 2012 at 6:08 AM, Bar Ziony <[email protected]> wrote: > Hi, > > I'm using 3.0a12 (it is the latest with pip install or easy_install), and > trying to use stopasgroup to makes my processes stop the entire process > group (in linux itself, like pkill -g PROCESS_GROUP_ID). It doesn't work > .The child processes of the processes owned by supervisord are not killed! > they become orphands and childs of PID 1. > > What am I doing wrong? > > My config: > [program:my-prog] > command=/usr/bin/my-prog -s 100%(process_num)02d "")' > process_name=%(program_name)s_%(process_num)02d > numprocs=4 > numprocs_start=1 > directory=/root > autorestart=true > startsecs=0 > stopasgroup=true > redirect_stderr=true > stdout_logfile=/var/log/my-prog/%(program_name)s.log > stdout_logfile_maxbytes=1MB > stdout_logfile_backups=10 > > > Thanks, > Bar. > > _______________________________________________ > Supervisor-users mailing list > [email protected] > http://lists.supervisord.org/mailman/listinfo/supervisor-users > >
_______________________________________________ Supervisor-users mailing list [email protected] http://lists.supervisord.org/mailman/listinfo/supervisor-users
