You can modify below lines in the script:

From:
/etc/init.d/nginx start
start uwsgi-emperor

To:
service nginx start
service emperor.uwsgi start

(coz no longer init.d and upstart in ubuntu 16.04)


On Monday, August 8, 2016 at 11:09:51 PM UTC+6:30, mweissen wrote:
>
> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to