aboutsummaryrefslogtreecommitdiff
path: root/stackbin.wsgi.ini.example
blob: d4cb995046e3d01f50897fbabce4774abff7cfcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[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
touch-reload = /usr/share/stackbin/templates/admin.html
touch-reload = /usr/share/stackbin/templates/layout.html
touch-reload = /usr/share/stackbin/templates/login_form.html
touch-reload = /usr/share/stackbin/templates/new_paste.html
touch-reload = /usr/share/stackbin/templates/_pagination.html
touch-reload = /usr/share/stackbin/templates/show_paste.html
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
bgstack15