[web2py] Re: Restart web2py from command line

2012-05-08 Thread Yarin
Ctl-c is working for me now, thanks. I was dealing with some database hangs yesterday where Ctl-c wasn't doing anything, but not gonna worry about that now.. On Tuesday, May 8, 2012 12:21:19 PM UTC-4, pbreit wrote: > > I've never had a problem on OSX with ctrl-c.

[web2py] Re: Restart web2py from command line

2012-05-08 Thread pbreit
I've never had a problem on OSX with ctrl-c.

[web2py] Re: Restart web2py from command line

2012-05-08 Thread Yarin
Apparently this won't be possible in OSX. See your answer here https://groups.google.com/d/msg/web2py/Zc53Lx85g50/Ei6QJLN7JoQJ On Sunday, May 6, 2012 6:44:19 PM UTC-4, Massimo Di Pierro wrote: > > We can add a restart option. Anybody wants to try a patch about this? The > pid is stored in https

[web2py] Re: Restart web2py from command line

2012-05-06 Thread pbreit
I have an alias in my profile: alias web2py='cd ~/web2py; python web2py.py -a "" -i 127.0.0.1 -p 8001' To stop I just press ctrl-c.

Re: [web2py] Re: Restart web2py from command line

2012-05-06 Thread Jonathan Lundell
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 > wrote: > >> We can add a restart option. Anybody wants to try a patch about this? The

Re: [web2py] Re: Restart web2py from command line

2012-05-06 Thread Jonathan Lundell
The Fedora rc file has some restart logic, I think. On May 6, 2012, at 5:44 PM, Massimo Di Pierro 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

[web2py] Re: Restart web2py from command line

2012-05-06 Thread Massimo Di Pierro
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 resta