I have following uwsgi.ini
:
[uwsgi]
uid = myuser
gid = myuser
master = true
daemonize = /path-to-log/uwsgi.log
...
I run uwsgi in rc.local
. I can see workers run as myuser
, I can see uwsgi switches to myuser
in log and I'm assuming myuser
will also be owner of uwsgi.log
. But root
is owner of uwsgi.log
.
How could I set owner of uwsgi.log
? It's for convenience - I'd like to see log without sudo.