From 237eab9a582526af3817e2a494228b83691a8eda Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 21 Mar 2018 10:32:19 +0100 Subject: use systemd RuntimeDirectory instead of /etc/tmpfiles.d --- php-fpm.service | 2 ++ 1 file changed, 2 insertions(+) (limited to 'php-fpm.service') diff --git a/php-fpm.service b/php-fpm.service index 687dfc0..b68765f 100644 --- a/php-fpm.service +++ b/php-fpm.service @@ -12,6 +12,8 @@ EnvironmentFile=/etc/sysconfig/php-fpm ExecStart=/usr/sbin/php-fpm --nodaemonize ExecReload=/bin/kill -USR2 $MAINPID PrivateTmp=true +RuntimeDirectory=php-fpm +RuntimeDirectoryMode=0755 [Install] WantedBy=multi-user.target -- cgit