From 9f597ebd54d0ce11f21a52033b1c91e99dc5c587 Mon Sep 17 00:00:00 2001 From: Rohan Rangray Date: Sat, 2 May 2015 21:00:24 -0700 Subject: [PATCH] Make the uwsgi app run as the flashy user. --- flashy.ini | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/flashy.ini b/flashy.ini index b7e97a5..99485cb 100644 --- a/flashy.ini +++ b/flashy.ini @@ -1,6 +1,8 @@ # mysite_uwsgi.ini file [uwsgi] +uid = 1007 +gid = 1007 # Django-related settings # the base directory (full path) chdir = /srv/flashy-backend/ @@ -8,8 +10,7 @@ chdir = /srv/flashy-backend/ module = flashy.wsgi # the virtualenv (full path) home = /srv/flashy-backend/venv/ - -logto = /var/log/uwsgi +logger = file:/var/log/uwsgi # process-related settings # master # master = true -- 1.9.1