summaryrefslogtreecommitdiff
path: root/install/uwsgi.ini.template
diff options
context:
space:
mode:
Diffstat (limited to 'install/uwsgi.ini.template')
-rw-r--r--install/uwsgi.ini.template18
1 files changed, 18 insertions, 0 deletions
diff --git a/install/uwsgi.ini.template b/install/uwsgi.ini.template
new file mode 100644
index 000000000..0e2fc6554
--- /dev/null
+++ b/install/uwsgi.ini.template
@@ -0,0 +1,18 @@
+[uwsgi]
+# variables
+projectname = #SHORT_NAME#
+projectdomain = #URL#
+base = /srv/#DB_NAME#/ishtar/
+
+# config
+plugins = python
+master = true
+protocol = uwsgi
+env = DJANGO_SETTINGS_MODULE=%(projectname).settings
+pythonpath = %(base)
+module = %(projectname).wsgi
+socket = 127.0.0.1:#UWSGI_PORT#
+logto = /var/log/django/uwsgi-%(projectname).log
+#below line runs it as a daemon in background
+daemonize = /var/log/uwsgi/uwsgi-%(projectname).log
+buffer-size=65535