aboutsummaryrefslogtreecommitdiff
path: root/stackbin.wsgi.ini
diff options
context:
space:
mode:
Diffstat (limited to 'stackbin.wsgi.ini')
-rw-r--r--stackbin.wsgi.ini14
1 files changed, 14 insertions, 0 deletions
diff --git a/stackbin.wsgi.ini b/stackbin.wsgi.ini
new file mode 100644
index 0000000..cac4511
--- /dev/null
+++ b/stackbin.wsgi.ini
@@ -0,0 +1,14 @@
+[uwsgi]
+plugins = logfile
+http-socket = 0.0.0.0:5000
+wsgi-file = pastebin.py
+callable = app
+touch-reload = pastebin.py
+touch-reload = config.cfg
+touch-reload = stackbin.wsgi.ini
+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