Commit 1ef5870c authored by kalvin's avatar kalvin

fixbugs

parent 382a2995
......@@ -46,10 +46,6 @@ do
echo "log is exist!"
log_exist=1
rm -rf ./logs/error.log
sleep 1
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
......@@ -63,5 +59,8 @@ cd /home/qg-xterm/;git pull;cd -
echo "node /home/qg-xterm/demo/app.js"
nohup node /home/qg-xterm/demo/app.js &
echo "tail -f ./logs/*log"
tail -f ./logs/*log
\ No newline at end of file
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