I have a cherokee serving django app using uWSGI. I want the uwsgi process user and group to be specified by me - how do I do this? (now uwsgi runs as 'www-data' user)
Asked
Active
Viewed 745 times
2 Answers
1
You could chown <user>:<group> /path/to/uwsgi
and then specify this user/group in the cherokee admin panel (sources).
Make sure to restart cherokee after that change.
mbaechtold
- 111
- 2
0
One way to do this, would be to start the uWSGI yourself, instead of letting Cherokee handle this, another would be starting the uWSGI processes through an init script. Both options allow you to set a user easily.
wzzrd
- 10,269
- 2
- 32
- 47