File: //etc/systemd/system/multi-user.target.wants/fp2-php84-fpm.service
[Unit]
Description= [FASTPANEL] The PHP 8.4 FastCGI Process Manager
After=network.target
ConditionPathExistsGlob=/opt/php84/etc/php-fpm.d/*.conf
[Service]
Type=notify
PIDFile=/opt/php84/var/run/php-fpm.pid
ExecStartPre=/opt/php84/sbin/php-fpm --fpm-config /opt/php84/etc/php-fpm.conf -t
ExecStart=/opt/php84/sbin/php-fpm --nodaemonize --fpm-config /opt/php84/etc/php-fpm.conf
ExecReload=/bin/kill -USR2 $MAINPID
[Install]
WantedBy=multi-user.target