forked from mirror/ledisdb
delete temporary file
This commit is contained in:
parent
17f1fa4bc1
commit
3826557b6a
16
reinstall.sh
16
reinstall.sh
|
@ -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"
|
Loading…
Reference in New Issue