summaryrefslogtreecommitdiff
path: root/conf/uwsgi.ini.template
diff options
context:
space:
mode:
Diffstat (limited to 'conf/uwsgi.ini.template')
-rw-r--r--conf/uwsgi.ini.template17
1 files changed, 17 insertions, 0 deletions
diff --git a/conf/uwsgi.ini.template b/conf/uwsgi.ini.template
new file mode 100644
index 0000000..089c952
--- /dev/null
+++ b/conf/uwsgi.ini.template
@@ -0,0 +1,17 @@
+[uwsgi]
+# variables
+projectname = commonnet
+projectdomain = #URL# # ex: commonnet.myorganization.net
+base = /srv/commonnet/ # install path
+
+# config
+plugins = python
+master = true
+protocol = uwsgi
+env = DJANGO_SETTINGS_MODULE=%(projectname).settings
+pythonpath = %(base)
+module = %(projectname).wsgi
+socket = /var/lib/uwsgi/run/%(projectname).sock
+logto = /var/log/django/uwsgi-%(projectname).log
+daemonize = /var/log/uwsgi/uwsgi-%(projectname).log
+buffer-size=65535