rm -f logfile.txt git pull php start.php stop php start.php start -d # 如果遇到端口占用问题 # 查看端口列表命令 # ps aux | grep 40002 # 查看进程名 对应的父进程 # ps -ef | grep