From 72425649892a326ef24ebbd5c1fbaf6e3f4ac14a Mon Sep 17 00:00:00 2001 From: bnewbold Date: Wed, 27 Apr 2016 00:16:11 -0400 Subject: cgit: fix filter paths; force nginx reload --- roles/git/tasks/cgit.yml | 1 + roles/git/templates/etc_cgitrc.j2 | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/git/tasks/cgit.yml b/roles/git/tasks/cgit.yml index 62b142e..9d3f2db 100644 --- a/roles/git/tasks/cgit.yml +++ b/roles/git/tasks/cgit.yml @@ -46,6 +46,7 @@ dest=/etc/nginx/sites-available/cgit group=root owner=root + notify: nginx reload - name: Create symlink to enable cgit config file: state=link diff --git a/roles/git/templates/etc_cgitrc.j2 b/roles/git/templates/etc_cgitrc.j2 index 82af626..6d9a2b5 100644 --- a/roles/git/templates/etc_cgitrc.j2 +++ b/roles/git/templates/etc_cgitrc.j2 @@ -82,11 +82,11 @@ mimetype.svg=image/svg+xml # Highlight source code with python pygments-based highlighter -source-filter=/usr/local/lib/cgit/filters/syntax-highlighting.py +source-filter=/usr/lib/cgit/filters/syntax-highlighting.py # Format markdown, restructuredtext, manpages, text files, and html files # through the right converters -about-filter=/usr/local/lib/cgit/filters/about-formatting.sh +about-filter=/usr/lib/cgit/filters/about-formatting.sh ## ## Search for these files in the root of the default branch of repositories -- cgit v1.2.3