summaryrefslogtreecommitdiffstats
path: root/php-fpm.service
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2025-09-25 08:40:10 +0200
committerRemi Collet <remi@php.net>2025-09-25 08:40:10 +0200
commitde7a1948c5b2cab56eab29e55d803c58acd58161 (patch)
tree302e3649f0112e3fa1ecea218f29e26171d30b5c /php-fpm.service
dup 8.4
Diffstat (limited to 'php-fpm.service')
-rw-r--r--php-fpm.service19
1 files changed, 19 insertions, 0 deletions
diff --git a/php-fpm.service b/php-fpm.service
new file mode 100644
index 0000000..0aaa112
--- /dev/null
+++ b/php-fpm.service
@@ -0,0 +1,19 @@
+# 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
+
+[Service]
+Type=notify
+ExecStart=/usr/sbin/php-fpm --nodaemonize
+ExecReload=/bin/kill -USR2 $MAINPID
+PrivateTmp=true
+RuntimeDirectory=php-fpm
+RuntimeDirectoryMode=0755
+
+[Install]
+WantedBy=multi-user.target
+