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