diff options
Diffstat (limited to 'fuss.wsgi.ini.example')
-rw-r--r-- | fuss.wsgi.ini.example | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/fuss.wsgi.ini.example b/fuss.wsgi.ini.example new file mode 100644 index 0000000..173173f --- /dev/null +++ b/fuss.wsgi.ini.example @@ -0,0 +1,18 @@ +# call with: uwsgi_python3 --ini fuss.wsgi.ini +[uwsgi] +plugins = python3,logfile +http-socket = 0.0.0.0:5003 +wsgi-file = /usr/libexec/fuss/fuss.py +callable = app +touch-reload = /usr/libexec/fuss/fuss.py +touch-reload = /etc/fuss.conf +touch-reload = /etc/fuss.wsgi.ini +touch-reload = /usr/share/fuss/templates/upload.html.j2 +touch-reload = /usr/share/fuss/templates/upload.js.j2 +touch-reload = /usr/share/fuss/templates/index.html.j2 +req-logger = file:/var/log/fuss/req.log +# to get strftime format fields, you need double percent signs +logdate = "%%FT%%T" +logger = file:/var/log/fuss/fuss.log +# the init script uses a different pidfile owned by root. +pidfile = /var/www/fuss/fuss.pid |