xref: /PHP-7.2/sapi/fpm/php-fpm.service.in (revision 60a69dae)
1# It's not recommended to modify this file in-place, because it
2# will be overwritten during upgrades.  If you want to customize,
3# the best way is to use the "systemctl edit" command.
4
5[Unit]
6Description=The PHP FastCGI Process Manager
7After=network.target
8
9[Service]
10Type=@php_fpm_systemd@
11PIDFile=@EXPANDED_LOCALSTATEDIR@/run/php-fpm.pid
12ExecStart=@EXPANDED_SBINDIR@/php-fpm --nodaemonize --fpm-config @EXPANDED_SYSCONFDIR@/php-fpm.conf
13ExecReload=/bin/kill -USR2 $MAINPID
14PrivateTmp=true
15
16[Install]
17WantedBy=multi-user.target
18