aboutsummaryrefslogtreecommitdiff
path: root/fuss.wsgi.ini.example
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2021-01-07 20:52:38 -0500
committerB Stack <bgstack15@gmail.com>2021-01-07 20:56:10 -0500
commitbadcb48cd279f0e2a0ed7eae2661171f2411e647 (patch)
tree920d3319404ece4811fd7f8bea5ef96ba52021e1 /fuss.wsgi.ini.example
downloadfuss-badcb48cd279f0e2a0ed7eae2661171f2411e647.tar.gz
fuss-badcb48cd279f0e2a0ed7eae2661171f2411e647.tar.bz2
fuss-badcb48cd279f0e2a0ed7eae2661171f2411e647.zip
initial commit
Diffstat (limited to 'fuss.wsgi.ini.example')
-rw-r--r--fuss.wsgi.ini.example18
1 files changed, 18 insertions, 0 deletions
diff --git a/fuss.wsgi.ini.example b/fuss.wsgi.ini.example
new file mode 100644
index 0000000..173173f
--- /dev/null
+++ b/fuss.wsgi.ini.example
@@ -0,0 +1,18 @@
+# call with: uwsgi_python3 --ini fuss.wsgi.ini
+[uwsgi]
+plugins = python3,logfile
+http-socket = 0.0.0.0:5003
+wsgi-file = /usr/libexec/fuss/fuss.py
+callable = app
+touch-reload = /usr/libexec/fuss/fuss.py
+touch-reload = /etc/fuss.conf
+touch-reload = /etc/fuss.wsgi.ini
+touch-reload = /usr/share/fuss/templates/upload.html.j2
+touch-reload = /usr/share/fuss/templates/upload.js.j2
+touch-reload = /usr/share/fuss/templates/index.html.j2
+req-logger = file:/var/log/fuss/req.log
+# to get strftime format fields, you need double percent signs
+logdate = "%%FT%%T"
+logger = file:/var/log/fuss/fuss.log
+# the init script uses a different pidfile owned by root.
+pidfile = /var/www/fuss/fuss.pid
bgstack15