aboutsummaryrefslogtreecommitdiff
path: root/gerboweb/deploy/uwsgi-gerboweb.ini
diff options
context:
space:
mode:
Diffstat (limited to 'gerboweb/deploy/uwsgi-gerboweb.ini')
-rw-r--r--gerboweb/deploy/uwsgi-gerboweb.ini14
1 files changed, 14 insertions, 0 deletions
diff --git a/gerboweb/deploy/uwsgi-gerboweb.ini b/gerboweb/deploy/uwsgi-gerboweb.ini
new file mode 100644
index 0000000..748af71
--- /dev/null
+++ b/gerboweb/deploy/uwsgi-gerboweb.ini
@@ -0,0 +1,14 @@
+[uwsgi]
+chmod-socket = 660
+master = True
+cheap = True
+idle = 600
+die-on-idle = True # If app is not used often, it will exit and be launched
+ # again by systemd requested by users.
+
+manage-script-name = True
+plugins = python3
+chdir = /var/lib/gerboweb
+mount = /=gerboweb:app
+env = GERBOWEB_SETTINGS=gerboweb.cfg
+