forked from hyperledger-labs/blockchain-explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsyncstart.sh
More file actions
executable file
·28 lines (17 loc) · 793 Bytes
/
syncstart.sh
File metadata and controls
executable file
·28 lines (17 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#
# SPDX-License-Identifier: Apache-2.0
#
#!/bin/bash
# Please visit ./logs/sync/app to view the application logs and visit the ./logs/sync/db to view the Database logs and visit the ./logs/sync/console for the console.log
# Log rotating for every 7 days.
rm -rf /tmp/fabric-client-kvs_peerOrg*
export SYNC_LOG_PATH=./logs/sync
echo "************************************************************************************"
echo "**************************** Hyperledger Explorer Sync**********************************"
echo "************************************************************************************"
export LOG_LEVEL_APP=debug
export LOG_LEVEL_DB=debug
export LOG_LEVEL_CONSOLE=info
export LOG_CONSOLE_STDOUT=false
export DISCOVERY_AS_LOCALHOST=true
node sync.js $1 $2 &