From af84818e91f32ad15cc4aadb9f3792582911d32a Mon Sep 17 00:00:00 2001 From: phil Date: Sat, 25 Feb 2023 22:24:33 +0100 Subject: [PATCH] Remove RuntimeDirectory option Leading to all services running below the same user --- templates/systemd/php-fpm@.service | 2 -- 1 file changed, 2 deletions(-) diff --git a/templates/systemd/php-fpm@.service b/templates/systemd/php-fpm@.service index 0958706..5bb1411 100644 --- a/templates/systemd/php-fpm@.service +++ b/templates/systemd/php-fpm@.service @@ -47,8 +47,6 @@ ReadWritePaths=-{{ php_fpm_log_dir }}/ ReadWritePaths=-/var/run/ ReadWritePaths=-/run/ InaccessiblePaths=-/root/ -RuntimeDirectory=php -RuntimeDirectoryPreserve=yes # Resources CPUQuota={{ php_fpm_cpu_quota }}