summarylogtreecommitdiffstats
path: root/hyperledger-fabric.install
blob: 9b798187e3e3d57a5fe6473bf07698020cb6fa79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
post_install() {
   echo "Add this line to /etc/environment"
   echo "	FABRIC_CFG_PATH=/etc/hyperledger/fabric"
   echo "	CORE_PEER_MSPCONFIGPATH:=$FABRIC_CFG_PATH/msp"
   echo "	CORE_LOGGING_LEVEL=DEBUG"
}


post_upgrade() {
  post_install $1
}

post_remove() {
   echo "Remove this line to /etc/environment"
   echo "       export FABRIC_CFG_PATH=/etc/hyperledger/fabric/"
   echo "       export CORE_PEER_MSPCONFIGPATH=$FABRIC_CFG_PATH/msp" 
   echo "       export CORE_LOGGING_LEVEL=DEBUG"
}