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.
This commit is contained in:
Astound 2024-08-04 09:53:11 +08:00
parent d0df1e5bad
commit 497e2c851e
Signed by: kaiser
GPG Key ID: 97504AF0027B1A56

View File

@ -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;"