summaryrefslogtreecommitdiff
path: root/uwsgi.ini
diff options
context:
space:
mode:
authoruser <user@node5.net>2024-07-20 12:09:32 +0200
committeruser <user@node5.net>2024-07-20 12:09:32 +0200
commitc169fa66fc583733d4ea03b78a65eb2bda007908 (patch)
tree3b2ac4ebb510bc30cb38fbace081bb243ec5a6ff /uwsgi.ini
parent9324bc325ea878a6d7d48d655e085f9a1731f938 (diff)
Prod config - Add SystemD service, uwsgi config
Diffstat (limited to 'uwsgi.ini')
-rw-r--r--uwsgi.ini12
1 files changed, 12 insertions, 0 deletions
diff --git a/uwsgi.ini b/uwsgi.ini
new file mode 100644
index 0000000..696a2a8
--- /dev/null
+++ b/uwsgi.ini
@@ -0,0 +1,12 @@
+[uwsgi]
+module = src.app:app
+pythonpath = src
+
+master = true
+processes = 5
+
+socket = text-tv.bornhack.node5.net.sock
+chmod-socket = 660
+vacuum = true
+
+die-on-term = true