aboutsummaryrefslogtreecommitdiffstats
path: root/gitolite-cgit
diff options
context:
space:
mode:
authorAstound <kirito@disroot.org>2024-08-04 09:53:11 +0800
committerAstound <kirito@disroot.org>2024-08-04 09:53:11 +0800
commit497e2c851ec741d7b910cc3eefd23a28fa5210ec (patch)
treefc3e3aa52cce12e63286c246f4af8e7346ca6b81 /gitolite-cgit
parentd0df1e5bad7727a66aa2a87f6ca3d6411b522a67 (diff)
downloadgitolite-cgit-docker-497e2c851ec741d7b910cc3eefd23a28fa5210ec.tar.lz
gitolite-cgit-docker-497e2c851ec741d7b910cc3eefd23a28fa5210ec.tar.xz
gitolite-cgit-docker-497e2c851ec741d7b910cc3eefd23a28fa5210ec.zip
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.
Diffstat (limited to 'gitolite-cgit')
-rw-r--r--gitolite-cgit/entrypoint.sh2
1 files changed, 1 insertions, 1 deletions
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;"