On 6 Aug 2012, at 9:37 AM, wdtatenh <wdt...@comcast.net> 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
Stop system cron here, if you have it running any web2py scripts. > 2. Upload new source to the web2py folder Here you might want to compile your app(s). python -c "import gluon.compileapp; gluon.compileapp.compile_application('applications/appname')" > 3. restart server ...and system cron, if needed. > > Appreciate any input. Thanks --