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:
parent
d0df1e5bad
commit
497e2c851e
@ -399,7 +399,7 @@ chown git:git /var/lib/git/.gitolite.rc
|
|||||||
chmod 640 /var/lib/git/.gitolite.rc
|
chmod 640 /var/lib/git/.gitolite.rc
|
||||||
|
|
||||||
# Start git-daemon
|
# 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
|
# Start nginx
|
||||||
exec nginx -g "daemon off;"
|
exec nginx -g "daemon off;"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user