From 497e2c851ec741d7b910cc3eefd23a28fa5210ec Mon Sep 17 00:00:00 2001 From: Astound Date: Sun, 4 Aug 2024 09:53:11 +0800 Subject: Remove redundant argument from git daemon command in entrypoint.sh Removed the `/var/lib/git/repositories` argument from the `git daemon` command since it's redundant with the base-path already defined. This change optimizes the git daemon configuration. --- gitolite-cgit/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitolite-cgit/entrypoint.sh b/gitolite-cgit/entrypoint.sh index 71342d1..f821cc6 100644 --- a/gitolite-cgit/entrypoint.sh +++ b/gitolite-cgit/entrypoint.sh @@ -399,7 +399,7 @@ chown git:git /var/lib/git/.gitolite.rc chmod 640 /var/lib/git/.gitolite.rc # Start git-daemon -git daemon --detach --reuseaddr --base-path=/var/lib/git/repositories /var/lib/git/repositories +git daemon --detach --reuseaddr --base-path=/var/lib/git/repositories # Start nginx exec nginx -g "daemon off;" -- cgit v1.2.3