supervisor 管理

https://zhuanlan.zhihu.com/p/626826371?utm_id=0

apk add
https://learnku.com/articles/46790
修改配置文件,开放防火墙9001端口

[program:xxx]
driectory=/xxx/queue
command =nohup php-71 /xxx/common.php > /xxx/queue.log 2>&1 &
user = root
autostart = true
autorestart = true
stdout_logfile=/var/log/supervisor/xxx-out.log
stderr_logfile=/var/log/supervisor/xxx-err.log
priority=1
stdout_logfile_maxbytes=2MB
stderr_logfile_maxbytes=2MB

posted on   木林coder  阅读(2)  评论(0编辑  收藏  举报

努力加载评论中...

导航

点击右上角即可分享
微信分享提示