John_Nowlan wrote:
> I do the following, and then get the following loop until I ctl-c it, is
> this a bug or am I doing something stupid?
>
> {x:174} paster serve --daemon --monitor-restart development.ini
> Starting subprocess with monitor parent
> Entering daemon mode
> -------------------- Restarting --------------------
> Entering daemon mode
> -------------------- Restarting --------------------
> Entering daemon mode
> -------------------- Restarting --------------------
> Entering daemon mode
> -------------------- Restarting --------------------
> ^C^C caught in monitor process
> {x:175}
Ah, I see... the daemonizing happens after the monitor, not before the
monitor. So as far as the monitor is concerned, the subprocess is
constantly dying (since during daemonization the subprocess spawns
another process then dies). Daemonizing should happen before the
monitor process.
I'm having problems with monitor anyway, I'm going to have to look at it
more closely (killing the monitor currently doesn't kill the subprocess).
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
| Write code, do good | http://topp.openplans.org/careers
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---