php-fpm.service.in 530 B

1234567891011121314151617
  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. [Unit]
  5. Description=The PHP FastCGI Process Manager
  6. After=network.target
  7. [Service]
  8. Type=@php_fpm_systemd@
  9. PIDFile=@EXPANDED_LOCALSTATEDIR@/run/php-fpm.pid
  10. ExecStart=@EXPANDED_SBINDIR@/php-fpm --nodaemonize --fpm-config @EXPANDED_SYSCONFDIR@/php-fpm.conf
  11. ExecReload=/bin/kill -USR2 $MAINPID
  12. PrivateTmp=true
  13. [Install]
  14. WantedBy=multi-user.target