php 5.6 systemd 启动脚本

[Unit] Description=The PHP FastCGI Process Manager After=syslog.target network.target Before=nginx.service   [Service] Type=forking PIDFile=/usr/local/php56/var/run/php-fpm....

[Unit]

Description=The PHP FastCGI Process Manager

After=syslog.target network.target

Before=nginx.service

 

[Service]

Type=forking

PIDFile=/usr/local/php56/var/run/php-fpm.pid

ExecStart=/usr/local/php56/sbin/php-fpm --fpm-config /usr/local/php56/etc/php-fpm.conf 

ExecReload=/bin/kill -USR2 $MAINPID

PrivateTmp=true

 

[Install]

WantedBy=multi-user.target

  • 发表于 2022-03-01 19:33
  • 阅读 ( 30 )

你可能感兴趣的文章

相关问题

0 条评论

请先 登录 后评论
shitian
shitian

662 篇文章

作家榜 »

  1. shitian 662 文章
  2. 石天 437 文章
  3. 每天惠23 33 文章
  4. 小A 29 文章