Hello !
I have a script written in Python, which spawns some child processes and 
manages them then. One of it's tasks is to terminate all child processes and 
wait until all of them died.
I use Upstart to run this script, here is my .conf:
**********
exec python /usr/scraper/scraper/manager.py
kill timeout 20
**********

The problem is that when I type "stop <task>", Upstart sends stop signal not to 
only master process, but all child processes as well.
This is not very good for me, because I'd like manager to control child 
processes.

The question is:
Is it possible to tell Upstart not to touch child processes and send TERM 
signal only to master process ?

Thanks

Eugene


-- 
upstart-devel mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/upstart-devel

Reply via email to