aboutsummaryrefslogtreecommitdiff
path: root/fifconfig.wsgi.ini.example
diff options
context:
space:
mode:
Diffstat (limited to 'fifconfig.wsgi.ini.example')
-rw-r--r--fifconfig.wsgi.ini.example17
1 files changed, 17 insertions, 0 deletions
diff --git a/fifconfig.wsgi.ini.example b/fifconfig.wsgi.ini.example
new file mode 100644
index 0000000..d7d1139
--- /dev/null
+++ b/fifconfig.wsgi.ini.example
@@ -0,0 +1,17 @@
+[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:4681
+wsgi-file = /usr/libexec/fifconfig/fifconfig.py
+callable = app
+touch-reload = /usr/libexec/fifconfig/fifconfig.py
+touch-reload = /etc/fifconfig.conf
+touch-reload = /etc/fifconfig.wsgi.ini
+req-logger = file:/var/log/fifconfig/req.log
+# to get strftime format fields, you need double percent signs
+logdate = "%%FT%%T"
+logger = file:/var/log/fifconfig/fifconfig.log
+# the init script uses a different pidfile owned by root.
+pidfile = /var/fifconfig/fifconfig-wsgi.pid
bgstack15