[uwsgi] # CentOS 7 uwsgi needs "python36" added to this list. plugins = logfile, python36 # Devuan Ceres does not. #plugins = logfile http-socket = 127.0.0.1:4680 wsgi-file = /usr/libexec/stackbin/stackbin.py callable = app touch-reload = /usr/libexec/stackbin/stackbin.py touch-reload = /etc/stackbin.conf touch-reload = /etc/stackbin.wsgi.ini # the template files are not necessary, because flask always loads it from disk for each request req-logger = file:/var/log/stackbin/req.log # to get strftime format fields, you need double percent signs logdate = "%%FT%%T" logger = file:/var/log/stackbin/stackbin.log # the init script uses a different pidfile owned by root. pidfile = /var/stackbin/stackbin-wsgi.pid