I highly recommend daemontools easy and stable.
This is a recipe I wrote for using scgihandler.py:

http://www.web2pyslices.com/slice/show/1518/running-scgi-with-daemontools

replace scgihandler.py in the run script with (use the options you need):
web2py.py -a <passord> -i 0.0.0.0

And that's it.

mic

2013/6/6 Jose C <houdinihoun...@gmail.com>

> How about using the server cron process?  I use this on CentOs and it
> works perfectly.
>
> To edit crontab, type:
>
> crontab -e
>
>
>
> In the crontab file, insert this line:
>
> @reboot /usr/local/bin/python2.7 /path/to/your/web2py/dir/web2py.py -p
> 8000 -a '<recycle>' --nogui --no-banner
>
> The -p parameter specifies the port number.
>
> HTH
>
>  --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to