aboutsummaryrefslogtreecommitdiffstats
path: root/roles/git
diff options
context:
space:
mode:
Diffstat (limited to 'roles/git')
-rw-r--r--roles/git/tasks/cgit.yml1
-rw-r--r--roles/git/templates/etc_cgitrc.j24
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