+
95
-

linux和centos下开机自启动多个php cli swoole程序只有第一个执行?

linux和centos下开机自启动多个php cli swoole程序只有第一个执行?

#!/bin/sh
# chkconfig: 23456 90 10
# description: websocket start

php /data/index.php websocket/server/start;
php /data/index2.php websocket/server/start;

 怎么只有第一个会执行,第二个不执行?

网友回复

+
15
-

修改一下,增加一个&

#!/bin/sh
# chkconfig: 23456 90 10
# descrip...

点击查看剩余70%

我知道答案,我要回答