1 Star 0 Fork 1

坚强的小二/blockchain-explorer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
start.sh 596 Bytes
一键复制 编辑 原始数据 按行查看 历史
pranay 提交于 2018-06-08 14:54 . BE-235
#
# SPDX-License-Identifier: Apache-2.0
#
#!/bin/bash
#
#Redirecting console.log to log file.
#Please visit ./logs/app to view the application logs and visit the ./logs/db to view the Database logs and visit the ./log/console for the console.log
# Log rotating for every 7 days.
rm -rf /tmp/fabric-client-kvs_peerOrg*
mkdir -p ./logs/app & mkdir -p ./logs/db & mkdir -p ./logs/console
node main.js >>logs/console/console.log-"$(date +%Y-%m-%d)" 2>&1 &
find ./logs/app -mtime +7 -type f -delete & find ./logs/db -mtime +7 -type f -delete & find ./logs/console -mtime +7 -type f -delete
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/gtx/blockchain-explorer.git
[email protected]:gtx/blockchain-explorer.git
gtx
blockchain-explorer
blockchain-explorer
master

搜索帮助