Killing reloaders when parent receives TERM signals

2009-03-24 Thread Dave Benjamin
Hello, I run the Django development server (manage.py runserver) under Daemontools on Linux. Daemontools is a server management framework that runs a foreground process as a daemon and automates the tasks of starting, restarting, signal handling, and logging. I use a run script that looks like th

Re: Killing reloaders when parent receives TERM signals

2009-03-24 Thread Dave Benjamin
in production, why do you > need daemontools? > >  Best regards, >  Graham > > On Mar 24, 11:13 am, Dave Benjamin wrote: > > > Hello, > > > I run the Django development server (manage.py runserver) under > > Daemontools on Linux. Daemontools is a server ma

Re: Killing reloaders when parent receives TERM signals

2009-03-24 Thread Dave Benjamin
On Mar 24, 4:13 pm, Malcolm Tredinnick wrote: > On Tue, 2009-03-24 at 15:27 -0700, Dave Benjamin wrote: > > In any case, sending a TERM signal to the parent process should cause > > the child to die. There is no reasonable justification for the current > > behavior, IMHO.

Re: Killing reloaders when parent receives TERM signals

2009-03-24 Thread Dave Benjamin
On Mar 24, 5:04 pm, Graham Dumpleton wrote: > Use Apache/mod_wsgi and the documented method of running a WSGI > application in a specific daemon process in a autoreloading > development mode. You could even have both the production and > development instances under same Apache under different hos