From 17c764ce72a6955e3aa2b2d21609cfabf602f4de Mon Sep 17 00:00:00 2001 From: jash Date: Thu, 6 Dec 2018 19:35:51 +0100 Subject: [PATCH] I hope this works ;-) --- api_auth_docker/entrypoint.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/api_auth_docker/entrypoint.sh b/api_auth_docker/entrypoint.sh index 6c4c968..158b281 100644 --- a/api_auth_docker/entrypoint.sh +++ b/api_auth_docker/entrypoint.sh @@ -11,9 +11,6 @@ if [[ $1 ]]; then fi -# create files with -rw-rw---- -# this will allow /var/run/fcgiwrap.socket to be accessed rw for group -su -c "umask 0006" $user - spawn-fcgi -M 0660 -s /var/run/fcgiwrap.socket -u $user -g nginx -U $user -- `which fcgiwrap` +chmod g+rw /var/run/fcgiwrap.socket nginx -g "daemon off;"