Skip to content

Commit

Permalink
Updated script logs
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardonunesp committed Aug 10, 2018
1 parent e74079a commit a73a667
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions transfer_gateway
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ setup)
fi

setup

;;
status)
[[ $(check_file_exists truffle-ethereum/ganache.pid) = 1 ]] && echo "Ganache running" || echo "Ganache stopped"
Expand Down Expand Up @@ -240,16 +240,26 @@ start)
start_webapp

echo
echo "-------------------------------------------------------------"
echo "Services initialized and ready, check http:\/\/localhost:8080"
echo "-------------------------------------------------------------"
echo "-----------------------------------------------------------"
echo "Services initialized and ready, check http://localhost:8080"
echo "-----------------------------------------------------------"

;;
stop)
echo "-----------------"
echo "Stopping services"
echo "-----------------"
echo

stop_webdapp
stop_dappchain
stop_truffle_ethereum

echo
echo "----------------"
echo "Services stopped"
echo "----------------"

;;
restart)
$0 stop
Expand Down

0 comments on commit a73a667

Please sign in to comment.