问题描述
我安装主管sudo apt install supervisor
我在“/etc/supervisor/conf.d/websocket.conf”中设置了wesocket.conf文件。
在那里
[program:websocket]
command=/usr/bin/PHP /var/www/project/artisan websocket:serve
directory = /var/www/project
numprocs=1
autostart=true
autorestart=true
user=root
然后,我运行命令blow
在我的 ssh cmd 中
root@localhost:/etc/supervisor/conf.d# nano websocket.conf
root@localhost:/etc/supervisor/conf.d# supervisorctl update
websocket: stopped
websocket: updated process group
root@localhost:/etc/supervisor/conf.d# supervisorctl start websocket
websocket: ERROR (already started)
root@localhost:/etc/supervisor/conf.d# supervisorctl
websocket STARTING
supervisor> exit
root@localhost:/etc/supervisor/conf.d# supervisorctl restart all
websocket: stopped
websocket: ERROR (spawn error)
root@localhost:/etc/supervisor/conf.d#
** 哪里错了**
请给我小费
谢谢
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)