22 Star 124 Fork 112

zihao / 梓豪paas平台

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
restart_zihao.sh 227 Bytes
一键复制 编辑 原始数据 按行查看 历史
java110 提交于 2022-03-06 22:09 . optimize shell script
#!/bin/bash
# restart zihao
# kill zihao process
ps -ef | grep ./zihao | grep -v 'grep' | grep -v 'restart_zihao.sh' | awk '{print $2}' | xargs kill -9
cd /zihao/master
chmod u+x zihao
# start zihao
./zihao > zihao.log &
Go
1
https://gitee.com/homecommunity/zihao.git
git@gitee.com:homecommunity/zihao.git
homecommunity
zihao
梓豪paas平台
master

搜索帮助