summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/builder/views.py2
-rw-r--r--config/django.ini12
2 files changed, 7 insertions, 7 deletions
diff --git a/app/builder/views.py b/app/builder/views.py
index 3c63b00..0478eb9 100644
--- a/app/builder/views.py
+++ b/app/builder/views.py
@@ -24,7 +24,7 @@ def do_build(request):
context = {'message': 'Writing Sitemap to Disk'}
j = BuildSitemap("blog", "Entry")
j.build()
- if section == 'rss':
+ if section == 'buildrss':
context = {'message': 'Writing RSS feed to Disk'}
j = BuildRSS("blog", "Entry")
j.build()
diff --git a/config/django.ini b/config/django.ini
index f238c17..54c824a 100644
--- a/config/django.ini
+++ b/config/django.ini
@@ -6,20 +6,20 @@ processes = 4
max-requests = 5000
enable-threads = true
# the socket (use the full path to be safe)
-uid = http
-gid = http
+uid = www-data
+gid = www-data
-socket = /tmp/uwsgi.sock
+socket = /tmp/uwsgi-libregraf.sock
chmod-socket = 664
chown-socket = www-data:www-data
# the base directory
-chdir = /home/lxf/sites/luxagraf.net
+chdir = /home/lxf/sites/libregraf.net
# django's wsgi file
module = config.wsgi
# the virtualenv
-home = /home/lxf/sites/luxagraf.net/venv
+home = /home/lxf/sites/libregraf.net/venv
buffer-size =65535
#plugin=python
@@ -27,4 +27,4 @@ limit-as = 1024
limit-post = 0
# clear environment on exit
vacuum = true
-logto = /var/log/uwsgi/test.log
+logto = /var/log/uwsgi/libre.log