diff options
| author | Paul Buetow <paul@buetow.org> | 2026-01-09 11:31:15 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-01-09 11:31:15 +0200 |
| commit | 3e39fcb2899f9f0f3d0e423bdfb3b2d52e1ab75f (patch) | |
| tree | 931560b80d40c5edae42ca77939d98e834fca1e8 /f3s/git-server | |
| parent | 3669a99e1c8a3d7ef1be42a5703c96cc8d31f0d7 (diff) | |
Run spawn-fcgi as root to avoid setgid errors
Remove -u nginx -g nginx from spawn-fcgi command to run as root.
This avoids nginx worker process setgid permission errors.
Diffstat (limited to 'f3s/git-server')
| -rw-r--r-- | f3s/git-server/helm-chart/templates/deployment.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/f3s/git-server/helm-chart/templates/deployment.yaml b/f3s/git-server/helm-chart/templates/deployment.yaml index 0f4d1bd..c077aa5 100644 --- a/f3s/git-server/helm-chart/templates/deployment.yaml +++ b/f3s/git-server/helm-chart/templates/deployment.yaml @@ -69,7 +69,7 @@ spec: command: ["/bin/sh", "-c"] args: - | - spawn-fcgi -u nginx -g nginx -s /var/run/fcgiwrap.sock -n -- /usr/bin/fcgiwrap & + spawn-fcgi -s /var/run/fcgiwrap.sock -n -- /usr/bin/fcgiwrap & exec nginx -g 'daemon off;' ports: - containerPort: 8080 |
