diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2026-10-04 07:46:52 -0700 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2026-10-11 18:36:50 -0700 |
| commit | e4da5eae598fca330ee1bccfd7be4f63df1e5cff (patch) | |
| tree | 1fde5e1e9e852100587f2629685c20f8a98b445f | |
| parent | Add extra newline before list starts to render it correctly (diff) | |
| download | site-configs-e4da5eae598fca330ee1bccfd7be4f63df1e5cff.zip | |
Fix cgit repos dir
When setting the scan path in cgit, we need it to be a absolute path
from the chroot it is in, not from the regular filesystem outside of
that.
| -rw-r--r-- | roles/obsd_cgit/defaults/main.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/obsd_cgit/defaults/main.yml b/roles/obsd_cgit/defaults/main.yml index 185edab..655724a 100644 --- a/roles/obsd_cgit/defaults/main.yml +++ b/roles/obsd_cgit/defaults/main.yml @@ -1,3 +1,4 @@ cgit_domain: "{{ cgit_domain }}" cgit_cache_dir: /var/www/cgit/cache -cgit_repos_dir: /var/www/pub/git +# Absolute path from /var/www chroot that httpd runs in +cgit_repos_dir: /pub/git |