Skip to content

Commit

Permalink
Updated restart script
Browse files Browse the repository at this point in the history
  • Loading branch information
SpasiboKojima committed Sep 2, 2018
1 parent 98972e4 commit f4a5a4a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions transfer_gateway
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function stop_dappchain {

function deploy_truffle_dappchain {
if [ $(check_file_exists webclient/webclient.pid) = 0 ]; then
echo "Start Truffle DAppChain"
echo "Deploy Truffle DAppChain"
cd truffle-dappchain
yarn deploy > /dev/null 2>&1 &
cd ..
Expand Down Expand Up @@ -213,7 +213,7 @@ status)
;;
start)
echo "-------------------------------------------------------------------"
echo "Initializing background services, it can take take (40 seconds) ..."
echo "Initializing background services, it can take (40 seconds) ..."
echo "-------------------------------------------------------------------"
echo

Expand Down Expand Up @@ -271,6 +271,7 @@ stop)
;;
restart)
$0 stop
sleep 1
$0 start

;;
Expand Down

0 comments on commit f4a5a4a

Please sign in to comment.