ahhh thank you thank you :)  I was looking for document about web2py
on the webfactional site but only thing I found that that one pager!

Pai

On Jun 14, 12:56 am, Yarko Tymciurak <resultsinsoftw...@gmail.com>
wrote:
> On Jun 14, 12:42 am, Pai <pai.siwamut...@gmail.com> 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=rest...
>
> (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

Reply via email to