From 3e39fcb2899f9f0f3d0e423bdfb3b2d52e1ab75f Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 9 Jan 2026 11:31:15 +0200 Subject: 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. --- f3s/git-server/helm-chart/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'f3s/git-server') 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 -- cgit v1.2.3