当前位置:网站首页>systemctl php配置文件

systemctl php配置文件

2022-06-26 07:10:00 一叶扁舟2021

[Unit]
Description=The php 8.1 fpm
After=network.target remote-fs.target nss-lookup.target

[Service]
Type=forking
PIDFile=/usr/local/php8.1/var/run/php-fpm.pid
ExecStartPre=/usr/bin/rm -f /usr/local/php8.1/var/run/php-fpm.pid
ExecStart=/usr/local/php8.1/sbin/php-fpm  --fpm-config /usr/local/php8.1/etc/php-fpm.conf --pid /usr/local/php8.1/var/run/php-fpm.pid
ExecReload=/bin/kill -s HUP $MAINPID
KillSignal=SIGQUIT
TimeoutStopSec=5
KillMode=mixed
PrivateTmp=true

[Install]
WantedBy=multi-user.target

原网站

版权声明
本文为[一叶扁舟2021]所创,转载请带上原文链接,感谢
https://blog.csdn.net/pianzhou2021/article/details/125433293