diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-03-07 19:15:31 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-03-07 19:44:36 +0800 |
commit | 3d3979934da0cfd514a0ef900f0f6fb573ceb917 (patch) | |
tree | 4ceece0bcadb6dce18e29a02af6a6ba2d30df242 /services/docker/git-server/app/lighttpd-wrapper.bash | |
parent | 2c26c4d44142dc1a4739eb28b0d8077f37161a72 (diff) | |
download | crupest-3d3979934da0cfd514a0ef900f0f6fb573ceb917.tar.gz crupest-3d3979934da0cfd514a0ef900f0f6fb573ceb917.tar.bz2 crupest-3d3979934da0cfd514a0ef900f0f6fb573ceb917.zip |
fix(git): public/private repo problem, enable cgit for private.
Diffstat (limited to 'services/docker/git-server/app/lighttpd-wrapper.bash')
-rwxr-xr-x | services/docker/git-server/app/lighttpd-wrapper.bash | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/services/docker/git-server/app/lighttpd-wrapper.bash b/services/docker/git-server/app/lighttpd-wrapper.bash new file mode 100755 index 0000000..54079ad --- /dev/null +++ b/services/docker/git-server/app/lighttpd-wrapper.bash @@ -0,0 +1,9 @@ +#!/usr/bin/bash + +set -e + +[[ -f /git/user-info ]] || touch -a /git/user-info + +exec 3>&1 +exec 4>&1 +exec lighttpd -D -f /app/lighttpd/lighttpd.conf |