Commit 4b9cfa1c authored by kalvin's avatar kalvin

fixbugs

parent f57bc830
......@@ -46,6 +46,9 @@ do
echo "log is exist!"
log_exist=1
rm -rf ./logs/error.log
echo "frontail ./logs/*log -n 500 -d "
frontail ./logs/*log -n 500 -d
else
touch ./logs/error.log
echo "[${count}]Log is not exist or java server start error." >> ./logs/error.log
......@@ -59,8 +62,5 @@ cd /home/qg-xterm/;git pull;cd -
echo "node /home/qg-xterm/demo/app.js"
nohup node /home/qg-xterm/demo/app.js &
echo "frontail ./logs/*log -n 500 -d "
frontail ./logs/*log -n 500
echo "tail -f ./logs/*log"
tail -f ./logs/*log
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment