From 3826557b6ab3de013b6cec43d2f5f6eaf8ad604f Mon Sep 17 00:00:00 2001 From: holys Date: Wed, 16 Jul 2014 17:08:32 +0800 Subject: [PATCH] delete temporary file --- reinstall.sh | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 reinstall.sh diff --git a/reinstall.sh b/reinstall.sh deleted file mode 100644 index 3593328..0000000 --- a/reinstall.sh +++ /dev/null @@ -1,16 +0,0 @@ -#/bin/bash -len=$(git status |grep modified |wc | awk '{print $1}') -if [ "$len" -gt 0 ]; then - printf "\nYou have local modified files\n" - exit 1 -fi - -git pull --rebase -ps -ef |grep -v grep |grep ledis| awk '{print $2}'|xargs kill -9 - -go install ./... - -source ./dev.sh -nohup ledis-server & -day=$(ps aux|grep -v grep |grep ledis-server | awk '{print $9}') -printf "ledis-server 启动于 $day"