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

Re: Killing reloaders when parent receives TERM signals

2009-03-24 Thread Dave Benjamin
hy do you > need daemontools? > >  Best regards, >  Graham > > On Mar 24, 11:13 am, Dave Benjamin <dave.benja...@gmail.com> wrote: > > > Hello, > > > I run the Django development server (manage.py runserver) under > > Daemontools on Linux. Daemontoo

Re: Killing reloaders when parent receives TERM signals

2009-03-24 Thread Dave Benjamin
On Mar 24, 4:13 pm, Malcolm Tredinnick <malc...@pointy-stick.com> 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

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