aboutsummaryrefslogtreecommitdiff
path: root/stackbin.wsgi.ini
blob: cf35ffb61b179035e4fb1d3bd1946edd993780f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[uwsgi]
# CentOS 7 uwsgi needs "python36" added to this list.
plugins = logfile, python36
# Devuan does not.
#plugins = logfile
http-socket = 0.0.0.0:5000
wsgi-file = stackbin.py
callable = app
touch-reload = stackbin.py
touch-reload = config.cfg
touch-reload = stackbin.wsgi.ini
# the template files are not necessary, because flask always loads it from disk for each request
req-logger = file:log/req.log
# to get strftime format fields, you need double percent signs
logdate = "%%FT%%T"
logger = file:log/stackbin.log
# the init script uses a different pidfile owned by root.
pidfile = stackbin.pid
bgstack15