修改关键字配置失效时,关联的已失效的配置再次失效的bug
增加分割删除nginx access.log的脚本 志总量,登陆用户名密码提示国际化文件修改 张微's avatar 修改proxy帮助文档,配置操作日志,增加音视频样例剪切工具下载 修正特定服务ajax动态新增的时候没有将编译ID获取的bug
This commit is contained in:
11
src/main/resources/scripts/ng_daemon.sh
Normal file
11
src/main/resources/scripts/ng_daemon.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#! /bin/bash
|
||||
nginxPath=/usr/local/nginx
|
||||
pidFile=$nginxPath/logs/nginx.pid
|
||||
logPath=$nginxPath/logs/daemon.log
|
||||
while true;do
|
||||
if [ ! -f $pidFile ]; then
|
||||
echo "时间:`date '+%Y-%m-%d %T'` nginx进程不存在,开始启动nginx" >> $logPath
|
||||
systemctl start nginx
|
||||
fi
|
||||
sleep 60
|
||||
done
|
||||
Reference in New Issue
Block a user