better this way

This commit is contained in:
Jean-Christian Denis 2024-12-14 11:54:09 +01:00
parent fea46b2af3
commit 19f8849420
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -99,4 +99,5 @@ echo >&2 '└──'
php-fpm84 -D # FPM must start first in daemon mode
nginx # Then nginx in no daemon mode
exec su - www -c "$*"
# Switch from user root to wwww
exec runuser -u www "$@"