True enough - but I'm not running a linux box and bringing up web2py from 
cmd line is straightforward.  Shutting down web2py on a windows box 
normally hangs.  On linux $: kill #### is issued.  However, since it's a 
live server - one that is not under my control (for darn good reason), I'm 
simply exercising an abundance of caution to make sure I don't create a 
headache for myself.

I should have clarified my request more carefully.  I'm assuming the steps 
are:

Step 1. from ssh $: kill #### (corresponding to the ps aux | grep web2py 
reply)
Step 2: Copy new files to web2py
Step 3: from python cmd shell python web2py.py 


On Monday, August 6, 2012 12:55:52 PM UTC-4, viniciusban wrote:
>
> You'll do this in a test environment before, right? ;-) 
>
>
> On 08/06/2012 01:37 PM, wdtatenh wrote: 
> > I'm about to update the src code on a live site hosted by webfaction. 
> > I'm assuming that web2py server must be stopped and restarted. 
> > 
> > Web2py is running from the original installation script and has never 
> > had to be shutdown before.  I've not gone through this on a live site 
> > performing a manual shutdown/restart, so I appreciate anyone's 
> > indulgence in this. 
> > 
> > My question is what is the normal command line instruction for shutting 
> > down and restarting web2py from the command line? 
> > I'm assuming the basic steps involved here are: 
> > 1. Shutdown server 
> > 2. Upload new source to the web2py folder 
> > 3. restart server 
> > 
> > Appreciate any input.  Thanks 
> > 
> > -- 
> > 
> > 
> > 
>

-- 



Reply via email to