win正常启动但是liux无法启动

CC.

Startws 设置了多个指令

报错:
Unknown command: Startws
Usage: php yourfile <command> [mode]
Commands:
start Start worker in DEBUG mode.
Use mode -d to start in DAEMON mode.
stop Stop worker.
Use mode -g to stop gracefully.
restart Restart workers.
Use mode -d to start in DAEMON mode.
Use mode -g to stop gracefully.
reload Reload codes.
Use mode -g to reload gracefully.
status Get worker status.
Use mode -d to show live status.
connections Get worker connections.

715 1 0
1个回答

xiuwang

启动 停止这种基本怎么不看手册呢
https://www.workerman.net/doc/workerman/install/start-and-stop.html

  • CC. 2022-09-29

    用的是think 自定义指令启动的

  • xiuwang 2022-09-29

    给指令加参数呗 start -d 啥的

  • CC. 2022-09-29

    试了都不行的

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