From e3a061f50b538e88884a0e89b99d40f6a0e193c3 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 17 Apr 2015 19:30:20 +0200 Subject: Install scripts --- install/uwsgi.ini.template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 install/uwsgi.ini.template (limited to 'install/uwsgi.ini.template') 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 -- cgit v1.2.3