diff options
| author | prospanclaudebot <[email protected]> | 2026-07-10 22:10:31 +0000 |
|---|---|---|
| committer | prospanclaudebot <[email protected]> | 2026-07-10 22:10:31 +0000 |
| commit | 966b62d9bd7e483f1e9484a5a99d8c2db475171c (patch) | |
| tree | df3a27730963d68d515272b4246dc79d96945744 /web/entrypoint.sh | |
| download | pacan-git-966b62d9bd7e483f1e9484a5a99d8c2db475171c.tar.gz pacan-git-966b62d9bd7e483f1e9484a5a99d8c2db475171c.zip | |
Diffstat (limited to 'web/entrypoint.sh')
| -rwxr-xr-x | web/entrypoint.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/web/entrypoint.sh b/web/entrypoint.sh new file mode 100755 index 0000000..f92af30 --- /dev/null +++ b/web/entrypoint.sh @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +mkdir -p /repos +# fcgiwrap на unix-сокете (его дёргает nginx для cgit.cgi и git-http-backend) +rm -f /run/fcgiwrap.sock +spawn-fcgi -s /run/fcgiwrap.sock -M 0666 -F 4 -- /usr/sbin/fcgiwrap +exec nginx -g 'daemon off;' |
