summaryrefslogtreecommitdiffstats
path: root/php-fpm.service
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-03-21 10:38:11 +0100
committerRemi Collet <remi@remirepo.net>2018-03-21 10:38:11 +0100
commitd424c8ca54d5f4e9eb317d98cda9256b5bc8f2af (patch)
tree79dd64ce0bcfe709b0b4e95a34bb20864335af65 /php-fpm.service
parent90c7a06a5d97863e1d9bc197458880fc141e59fd (diff)
use systemd RuntimeDirectory instead of /etc/tmpfiles.d
Diffstat (limited to 'php-fpm.service')
-rw-r--r--php-fpm.service2
1 files changed, 2 insertions, 0 deletions
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