Commit 9f597ebd54d0ce11f21a52033b1c91e99dc5c587

Authored by Rohan Rangray
1 parent 09cf5c4326
Exists in master

Make the uwsgi app run as the flashy user.

Showing 1 changed file with 3 additions and 2 deletions Side-by-side Diff

1 1 # mysite_uwsgi.ini file
2 2 [uwsgi]
3 3  
  4 +uid = 1007
  5 +gid = 1007
4 6 # Django-related settings
5 7 # the base directory (full path)
6 8 chdir = /srv/flashy-backend/
... ... @@ -8,8 +10,7 @@
8 10 module = flashy.wsgi
9 11 # the virtualenv (full path)
10 12 home = /srv/flashy-backend/venv/
11   -
12   -logto = /var/log/uwsgi
  13 +logger = file:/var/log/uwsgi
13 14 # process-related settings
14 15 # master
15 16 # master = true