Commit 61b06d8a authored by kalvin's avatar kalvin

alias log

parent 3fafcfab
......@@ -76,6 +76,7 @@ if [[ $CLUSTER == "3B" ]]; then
tail -f $log_path/*log
else
echo "clean ${log_path}/*"
#历史遗留问题,抽空fix
echo "replaceGitRemote"
replaceGitRemote(){
......@@ -143,6 +144,8 @@ else
echo "Log is not exist or java server start error." >> ./logs/error.log
fi
echo "export alias log='cd logs;tail -500f *log';" >> ~/.bashrc
source ~/.bashrc
source ~/.bash_profile
echo "cd /home/qg-xterm/;git pull;cd -"
......
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