关于多项目运行gatewayWorker问题

1007182850

请路过的大佬帮忙回答下,windows服务器,同一个服务器,有两个项目,是不是要在不同的文件下开启两次终端运行?,只开一个行不行?文档也看了,上面只是说怎么配置,改端口之类的,现在我开启两个可以正常运行,但一个项目要开启一个的话总感觉别扭,项目多的话肯定不行,所以请知道的大佬告诉我一下改怎么弄,谢谢

2410 1 0
1个回答

抽不完的寂寞

记事本打开start_for_win.bat,把其它项目的启动文件加进来就好了。
比如原来是 php Applications/项目1/start_gateway.php Applications/项目1/start_businessworker.php Applications/项目1/start_register.php
 
改成 php Applications/项目1/start_gateway.php Applications/项目1/start_businessworker.php Applications/项目1/start_register.php Applications/项目2/start_gateway.php Applications/项目2/start_businessworker.php Applications/项目2/start_register.php

  • 1007182850 2018-12-07

    我放在一个启动器了,可是只执行了写在前面的一个app,不会两个一起挂起来

  • 1007182850 2018-12-07

    可以了,写在一行就可以了,谢谢大佬

年代过于久远,无法发表回答
🔝