I've narrowed down the problem.

The file /etc/init/uwsgi-emperor.conf is not being created because the 
directory /etc/init doesn't exist. 

The directory /etc/init doesn't exist because it's for Upstart 
configuration, and Ubuntu 17.10 and higher don't support upstart 
<https://askubuntu.com/questions/1024120/will-ubuntu-18-04-lts-still-support-upstart-or-do-we-have-to-change-to-systemd>
.

It looks like I need to use Systemd instead of Upstart, but I'm a linux 
noob and I don't know how.

So, how do I replace the script uwsgi-emperor.conf with a Systemd script?








On Tuesday, March 12, 2019 at 11:10:02 AM UTC, Toby wrote:
>
> I set up a new DigitalOcean server (Ubuntu 18.04) and ran the install 
> script setup-web2py-nginx-uwsgi-ubuntu.sh
>
> It works OK and I can access the admin interface, but I noticed that 
> uwsgi logging is not working. Even once the app is running there is no log 
> file created at /var/log/uwsgi/
>
> Any idea how I get logging to work?
>
> Thanks!
>
>

-- 
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.

Reply via email to