Or maybe all is properly installed but the service control command is unknown. So you can just try the systemctl command from bottom of (patched) script:
sudo systemctl restart nginx sudo systemctl restart emperor.uwsgi Dne úterý 9. srpna 2016 14:03:18 UTC+2 Mirek Zvolský napsal(a): > > If you have lot of time, you can test if this script works: > > > https://github.com/zvolsky/web2py/blob/zvolsky_rejected/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh > > <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fzvolsky%2Fweb2py%2Fblob%2Fzvolsky_rejected%2Fscripts%2Fsetup-web2py-nginx-uwsgi-ubuntu.sh&sa=D&sntz=1&usg=AFQjCNHjbkWyRiJM2ec6BdiBvJtFaRBLUw> > > Here I try use systemctl instead of start. > > > > > > > > Dne pondělí 8. srpna 2016 18:39:51 UTC+2 mweissen napsal(a): >> >> I have tried to setup a new web2py server with nginx on Ubuntu 16.04 LTS >> >> I have used the script >> >> >> https://raw.githubusercontent.com/web2py/web2py/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh >> >> The script stopped with >> >> extracting: web2py/applications/__init__.py >> extracting: web2py/site-packages/__init__.py >> [ ok ] Starting nginx (via systemctl): nginx.service. >> ./setup-web2py-nginx-uwsgi-ubuntu.sh: line 217: start: command not found >> >> >> Nginx seems to work: >> >> Welcome to nginx! >> >> If you see this page, the nginx web server is successfully installed and >> working. Further configuration is required. >> >> >> Any comments? >> >> By the way: I have tried the Apache version too - the Apache script works >> correctly. >> >> Regards, Martin >> > -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.