From d00ecea96427ff7ed13832e35c0f972c68e80781 Mon Sep 17 00:00:00 2001 From: Ludovic Poujol Date: Tue, 2 Apr 2019 15:15:51 +0200 Subject: [PATCH] web-add.sh - Ensure the FPM pools uses the www-XXX user --- scripts/web-add.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/web-add.sh b/scripts/web-add.sh index df0306e..dc0528f 100755 --- a/scripts/web-add.sh +++ b/scripts/web-add.sh @@ -403,7 +403,7 @@ create_www_account() { phpfpm_socket_path="/home/${in_login}/php-fpm${php_version}.sock" cat </var/lib/lxc/php"${php_version}"/rootfs/${pool_path}/"${in_login}".conf [${in_login}] -user = ${in_login} +user = www-${in_login} group = ${in_login} listen = ${phpfpm_socket_path}