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 | 57fc721bb02120b33fb9f0152b7e0555828d4e54 (patch) | |
tree | b87c25ca93325355775e70dbf8084c36a82e9445 /services/docker/git-server/app/lighttpd-wrapper.bash | |
parent | 94a93f951b6fb41368bee2b3adc17899c64748b0 (diff) | |
download | crupest-57fc721bb02120b33fb9f0152b7e0555828d4e54.tar.gz crupest-57fc721bb02120b33fb9f0152b7e0555828d4e54.tar.bz2 crupest-57fc721bb02120b33fb9f0152b7e0555828d4e54.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 |