Re: [web2py] Re: How to start web2py at server reboot

2013-06-06 Thread Michele Comitini
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 -i 0.0.0.0 And that's it. mic 201

[web2py] Re: How to start web2py at server reboot

2013-06-06 Thread Jose C
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 '' --nogui --no-banner The -p parameter specifies t