On Jun 14, 12:42 am, Pai <[email protected]> wrote: > Hi, > > total noob question here.. how do you restart web2py on > webfactional? I ssh in and put in > > python web2py.py -z 5 > > it seems like it is trying to start another instance of web2py rather > than trying to shut it down. Any body has any idea how shut it down > and start it back up again?
When you start web2py like this, you are indeed starting it on the built-in server; your "served" webfaction web2py is served thru apache+ mod_wsgi (apache module). RTM:: From: http://docs.webfaction.com/software/django/config.html?highlight=restart%20wsgi#restarting-a-django-application (it's just another wsgi app - everywhere it says django_app in the link above, replace with "web2py_app" application): -------------- 1/ Open an SSH session. 2/ Switch to the web2py application’s directory. Enter cd ~/webapps/ web2py_app where web2py_app is the name of the web2py application as it appears in the control panel, and press Enter. 3/ Run the restart script. Enter ./apache2/bin/restart and press Enter. Your web2py application restarts over a few seconds. Note Alternatively, you may manually start and stop the Apache instance. To stop the server, enter ./apache2/bin/stop and press Enter. To start the server, enter ./apache2/bin/start and press Enter. ------------- - Yarko > > any help is greatly appreciated :) > > Pai

