Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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)

share|improve this question
add comment

2 Answers

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.

share|improve this answer
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.