From 9e0275eef219d514a30e9725778c94821a4c4fbf Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Tue, 12 Feb 2019 09:42:07 +0100 Subject: [PATCH] Improve uwsgi example config --- README.md | 2 +- uwsgi.ini.example | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e11f4a9..0f4f373 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ TBA ## uWSGI -To use dss with uWSGI create a file called uwsgi.ini from the provided example and change the socket and optinally the chroot setting. You can use `/usr/bin/uwsgi --ini /path/to/dss/uwsgi.ini` to start your instance. +To use dss with uWSGI create a file called uwsgi.ini from the provided example and change the socket and optinally the chdir,uid and gid settings. You can use `/usr/bin/uwsgi --ini /path/to/dss/uwsgi.ini` to start your instance. ## Misc diff --git a/uwsgi.ini.example b/uwsgi.ini.example index 6ac8e1f..f6dc94d 100644 --- a/uwsgi.ini.example +++ b/uwsgi.ini.example @@ -1,7 +1,10 @@ [uwsgi] socket = 127.0.0.1:5001 -#chroot = /path/to/dss/ +#chdir = /path/to/dss/ +plugin = python3 wsgi-file = dss.py callable = app +#uid = www-data +#gid = www-data processess = 4 threads = 2