FYI: Usually the process id exists in /path_of_web2py/httpserver.pid

On Apr30, 2:00am, Thadeus Burgess <[email protected]> wrote:
> How are you running web2py?
>
> If I need to kill a web2py process that I started from the command
> line, but lost its process id I do the following command
>
> $: ps aux | grep web2py
> tburgess 12854  0.0  0.5 394812 62296 ?        Sl   11:24   0:04
> /usr/bin/python2.6 -u /home/tburgess/Applications/web2py/web2py.py -a
> asdf
> $: kill 12854
>
> Sometimes web2py will hang and will not shut down, so you might have
> to pass the -9 flag if it is still running after a minute or two.
>
> $: kill -9 12854
>
> --
> Thadeus
>
>
>
> On Thu, Apr 29, 2010 at 12:30 PM, Avik Basu <[email protected]> wrote:
> > Hi,
> > Is there a way to restart web2py from the command line in a linux
> > environment?
> > Avik

Reply via email to