摘要: #!/bin/sh status="`ps -ef |grep "内容" | grep -v grep | wc -l`" if [ $status -eq 0 ] then cd /home/wwwroot/ nohup 命令 -d > /dev/null 2>&1 & echo '启动成功' e 阅读全文
posted @ 2020-11-27 13:59 酷酷的城池 阅读(73) 评论(0) 推荐(0) 编辑