diff options
author | lxf <sng@luxagraf.net> | 2019-05-03 17:38:32 +0000 |
---|---|---|
committer | lxf <sng@luxagraf.net> | 2019-05-03 17:38:32 +0000 |
commit | 99e60b7587a33cc9dea44d7408aff7dd6cc4009d (patch) | |
tree | 0797b9308a1f9a50cf3580c298f72adad06c8dd0 | |
parent | e43cbc1a487b8ea45c05a4b394a7c60ffc4c0ba4 (diff) |
fixed bug in RSS builder
-rw-r--r-- | app/builder/views.py | 2 | ||||
-rw-r--r-- | config/django.ini | 12 |
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 |