mirror of
https://github.com/redis/redis.git
synced 2026-05-28 04:02:46 -04:00
create-cluster fix for stop and watch commands
This commit is contained in:
parent
9b0bcf25e1
commit
761fc16b4a
1 changed files with 2 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ then
|
|||
while [ $((PORT < ENDPORT)) != "0" ]; do
|
||||
PORT=$((PORT+1))
|
||||
echo "Stopping $PORT"
|
||||
redis-cli -p $PORT shutdown nosave
|
||||
../../src/redis-cli -p $PORT shutdown nosave
|
||||
done
|
||||
exit 0
|
||||
fi
|
||||
|
|
@ -54,7 +54,7 @@ then
|
|||
while [ 1 ]; do
|
||||
clear
|
||||
date
|
||||
redis-cli -p $PORT cluster nodes | head -30
|
||||
../../src/redis-cli -p $PORT cluster nodes | head -30
|
||||
sleep 1
|
||||
done
|
||||
exit 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue