3 Star 2 Fork 10

上海老李 / ai_web

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
run.sh 515 Bytes
一键复制 编辑 原始数据 按行查看 历史
上海老李 提交于 2019-05-24 12:31 . 初始化
#!/bin/bash
# @Author: haodaquan
# @Date: 2017-06-29 17:44:45
# @Last Modified by: haodaquan
# @Last Modified time: 2017-06-29 17:44:45
case $1 in
start)
nohup ./apiAdmin 2>&1 >> info.log 2>&1 /dev/null &
echo "服务已启动..."
sleep 1
;;
stop)
killall apiAdmin
echo "服务已停止..."
sleep 1
;;
restart)
killall apiAdmin
sleep 1
nohup ./apiAdmin 2>&1 >> info.log 2>&1 /dev/null &
echo "服务已重启..."
sleep 1
;;
*)
echo "$0 {start|stop|restart}"
exit 4
;;
esac
1
https://gitee.com/nwaycn/ai_web.git
git@gitee.com:nwaycn/ai_web.git
nwaycn
ai_web
ai_web
master

搜索帮助