aboutsummaryrefslogtreecommitdiff
path: root/stackbin.wsgi.ini.example
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2022-02-15 09:52:43 -0500
committerB Stack <bgstack15@gmail.com>2022-02-15 09:59:19 -0500
commit171ec414ae74564e2c6f7a6e7da7f0ebdc9db2d5 (patch)
tree44db45d1f1878738b89a3a20b670072a740937af /stackbin.wsgi.ini.example
parentr-proxy support with /set endpoint, and extra dir (diff)
downloadstackbin-171ec414ae74564e2c6f7a6e7da7f0ebdc9db2d5.tar.gz
stackbin-171ec414ae74564e2c6f7a6e7da7f0ebdc9db2d5.tar.bz2
stackbin-171ec414ae74564e2c6f7a6e7da7f0ebdc9db2d5.zip
add initial system-ready values and install steps
Diffstat (limited to 'stackbin.wsgi.ini.example')
-rw-r--r--stackbin.wsgi.ini.example18
1 files changed, 18 insertions, 0 deletions
diff --git a/stackbin.wsgi.ini.example b/stackbin.wsgi.ini.example
new file mode 100644
index 0000000..7e0d203
--- /dev/null
+++ b/stackbin.wsgi.ini.example
@@ -0,0 +1,18 @@
+[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/run/stackbin-wsgi.pid
bgstack15