From 2d0c859d6c88b4965fa6930bfa19d01cfff9292c Mon Sep 17 00:00:00 2001 From: Mike Williams Date: Wed, 15 Mar 2023 17:06:00 +0100 Subject: [PATCH] sec: adapt php-fpm default socket per default, php-fpm based apparmor rules use specific paths throughout distros, the default socket location to be found matches @{run}/php{,-fpm}/php*-fpm.sock --- build/grommunio-sync-upstream.conf | 2 +- build/pool-grommunio-sync.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/grommunio-sync-upstream.conf b/build/grommunio-sync-upstream.conf index c20275b..35b0369 100644 --- a/build/grommunio-sync-upstream.conf +++ b/build/grommunio-sync-upstream.conf @@ -1,3 +1,3 @@ upstream fpm_sync { - server unix:/run/php-fpm/grommunio-sync; + server unix:/run/php-fpm/php-grommunio-sync-fpm.sock; } diff --git a/build/pool-grommunio-sync.conf b/build/pool-grommunio-sync.conf index a098dfa..2ac2c1e 100644 --- a/build/pool-grommunio-sync.conf +++ b/build/pool-grommunio-sync.conf @@ -1,6 +1,6 @@ [grommunio-sync-pool] ; socket information -listen = /run/php-fpm/grommunio-sync +listen = /run/php-fpm/php-grommunio-sync-fpm.sock listen.mode = 0666 listen.owner = grosync listen.group = grosync