summaryrefslogtreecommitdiff
path: root/sapi/fpm/php-fpm.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/fpm/php-fpm.service.in')
-rw-r--r--sapi/fpm/php-fpm.service.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/sapi/fpm/php-fpm.service.in b/sapi/fpm/php-fpm.service.in
index c135f04c27..a4d533c197 100644
--- a/sapi/fpm/php-fpm.service.in
+++ b/sapi/fpm/php-fpm.service.in
@@ -1,3 +1,7 @@
+# It's not recommended to modify this file in-place, because it
+# will be overwritten during upgrades. If you want to customize,
+# the best way is to use the "systemctl edit" command.
+
[Unit]
Description=The PHP FastCGI Process Manager
After=network.target
@@ -7,6 +11,7 @@ Type=@php_fpm_systemd@
PIDFile=@EXPANDED_LOCALSTATEDIR@/run/php-fpm.pid
ExecStart=@EXPANDED_SBINDIR@/php-fpm --nodaemonize --fpm-config @EXPANDED_SYSCONFDIR@/php-fpm.conf
ExecReload=/bin/kill -USR2 $MAINPID
+PrivateTmp=true
[Install]
WantedBy=multi-user.target