diff options
author | Remi Collet <remi@remirepo.net> | 2018-03-21 10:32:19 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-03-21 10:32:19 +0100 |
commit | 237eab9a582526af3817e2a494228b83691a8eda (patch) | |
tree | af4705308355ecc30db93302cfcac3b975b69ac9 /php-fpm.service | |
parent | bbe93f2fa0c052de86cbf104c5969286623b2fae (diff) |
use systemd RuntimeDirectory instead of /etc/tmpfiles.d
Diffstat (limited to 'php-fpm.service')
-rw-r--r-- | php-fpm.service | 2 |
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 |