On May 6, 2012, at 7:30 PM, Jonathan Lundell wrote:
> The Fedora rc file has some restart logic, I think.

scripts/web2py.archlinux.sh and web2py.fedora.sh

> 
> On May 6, 2012, at 5:44 PM, Massimo Di Pierro <[email protected]> 
> wrote:
> 
>> We can add a restart option.  Anybody wants to try a patch about this? The 
>> pid is stored in httpserver.pid.
>> 
>> 
>> On Sunday, 6 May 2012 14:01:24 UTC-5, Yarin wrote:
>> Is there any way to restart web2py from the command line. I'm working on a 
>> mac, and there's no way to use the GUI to stop or restart the built-in 
>> rocket server. Currently the best I can do is:
>> Start web2py: python web2py.py -a 'pass' -i 127.0.0.1 -p 8000
>> Stop web2py: kill -SIGTERM {whatever pid was returned from start script}
>> This is a clumsy process, but one i'm forced to go through many times a day 
>> when dealing with module development, as there's no other way to ensure a 
>> clean reload of modules.


Reply via email to