diff options
author | Todd Zullinger <tmz@pobox.com> | 2018-06-15 23:24:01 -0400 |
---|---|---|
committer | Todd Zullinger <tmz@pobox.com> | 2018-06-16 22:36:06 -0400 |
commit | 9eedf28d2469ff79b713988f2d242a8a1a5a1282 (patch) | |
tree | 64ed8703fa99e191de29377cb1eed5db045e31f9 /README.SELinux | |
parent | bd1a10187c7885064d6af691c58f429f0fbd7f2c (diff) | |
download | cgit_EL6-9eedf28d2469ff79b713988f2d242a8a1a5a1282.tar.gz |
simplify README.SELinux install
All supported releases use the same selinux context (git_sys_content_t).
Update README.SELinux and install it as-is.
Diffstat (limited to 'README.SELinux')
-rw-r--r-- | README.SELinux | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/README.SELinux b/README.SELinux index 1f63c62..3af6c5a 100644 --- a/README.SELinux +++ b/README.SELinux @@ -11,7 +11,7 @@ handled automatically for repositories in the default path, /var/lib/git. If your repositories are in a different path, /srv/git, for example, you can set the proper context using semanage: - # semanage fcontext -a -t @CGIT_CONTEXT@ "/srv/git(/.*)?" + # semanage fcontext -a -t git_sys_content_t "/srv/git(/.*)?" If you have other confined daemons that need to access the git repositories, you may want to use public_content_t, or public_content_rw_t instead. |