1 Star 0 Fork 104

人人如龙/ngr

forked from SpringFuture.org/ngr 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
start-debug.sh 483 Bytes
一键复制 编辑 原始数据 按行查看 历史
jacobs 提交于 2019-08-03 13:27 . initialize project
#!/usr/bin/env bash
current_path=`pwd`
ps -fe|grep nginx |grep -v grep
if [ $? -ne 0 ]
then
sudo nginx -p `pwd` -t -c conf_sample/nginx_example.conf
sudo nginx -p `pwd` -c conf_sample/nginx_example.conf
echo "nginx start"
else
sudo nginx -p `pwd` -t -c conf_sample/nginx_example.conf
sudo nginx -p `pwd` -s reload -c conf_sample/nginx_example.conf
echo "nginx reload"
fi
echo -e "===========================================\n\n"
tail -f $current_path/logs/error.log
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Lua
1
https://gitee.com/openagi/ngr.git
git@gitee.com:openagi/ngr.git
openagi
ngr
ngr
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385