summaryrefslogtreecommitdiff
path: root/install/uwsgi.ini.template
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-04-17 19:30:20 +0200
committerÉtienne Loks <etienne.loks@proxience.com>2015-04-17 19:33:43 +0200
commitf57f79d40b9a6c8cc1333165ee11a341c78be181 (patch)
tree9111c25f355c8b5f4d4d612a52505af3c5cf04fd /install/uwsgi.ini.template
parentd2715ef9bee36243ee4c07a5b1bd869f5cc81456 (diff)
downloadIshtar-f57f79d40b9a6c8cc1333165ee11a341c78be181.tar.bz2
Ishtar-f57f79d40b9a6c8cc1333165ee11a341c78be181.zip
Install scripts
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