In this script you can see how is web2py started by uwsgi in emperor mode : https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh
the python web2py.py in included... Hope it could help you figure it out. I remember that with unicorn I start redmine with a redmine /etc/init.rd/redmine service You may have a look at : https://github.com/web2py/web2py/blob/master/scripts/setup-ubuntu-12-04-redmine-unicorn-web2py-uwsgi-nginx.sh Richard On Fri, Oct 4, 2013 at 1:45 PM, LightDot <[email protected]> wrote: > Couple of things I don't understand - are you using anyserver.py or not? > Are you using nginx in front of gunicorn, or..? > > Please post your relevant config files and full startup lines. > > Regards > > > On Friday, October 4, 2013 7:23:27 PM UTC+2, Gour wrote: > >> On Fri, 4 Oct 2013 13:10:48 -0400 >> Richard Vézina >> <[email protected]> wrote: >> >> > You miss the -a "password" parameter I think! >> > >> > You pass the same password that is encrypted in you parameters_443.py >> > file... >> > >> > It may still miss some parameter to specify you want to run the >> > server in https mode. >> >> I know about '-a' and "<recycle>", but the point is that here I'm not >> starting web2py via 'python web2py.py', but invoking it via gunicorn: >> >> gunicorn -D -b unix:///some_socket --worker-class sync --pid $PID >> wsgihandler --preload... >> >> >> So, the original question why parameter_80.py is required remains. ;) >> >> >> Sincerely, >> Gour >> >> -- >> The senses are so strong and impetuous, O Arjuna, >> that they forcibly carry away the mind even of a man >> of discrimination who is endeavoring to control them. >> >> http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 >> >> >> -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > 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 [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

