Skip to content

Commit

Permalink
chore(startup): add log in startup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
huangyoukun committed Aug 10, 2018
1 parent f505ccc commit bedc824
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bin/proxy/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ then
echo "exit"
exit 0
else
echo "do nothing, there is no pids"
echo "there is no pids of TSW"
fi

CUR_ARGS=""
Expand All @@ -48,6 +48,11 @@ then
./TSW --expose_internals --no-deprecation $CUR_ARGS ./proxy >> ../log/run.log.0 2>&1
else
./TSW --expose_internals --no-deprecation $CUR_ARGS ./proxy >> ../log/run.log.0 2>&1 &
sleep 0.5s
echo "sleep 0.5s"

echo "ps -fC TSW"
ps -fC TSW
echo start down
fi

0 comments on commit bedc824

Please sign in to comment.