Commit 761fc16b authored by superlogical's avatar superlogical
Browse files

create-cluster fix for stop and watch commands

parent 9b0bcf25
...@@ -43,7 +43,7 @@ then ...@@ -43,7 +43,7 @@ then
while [ $((PORT < ENDPORT)) != "0" ]; do while [ $((PORT < ENDPORT)) != "0" ]; do
PORT=$((PORT+1)) PORT=$((PORT+1))
echo "Stopping $PORT" echo "Stopping $PORT"
redis-cli -p $PORT shutdown nosave ../../src/redis-cli -p $PORT shutdown nosave
done done
exit 0 exit 0
fi fi
...@@ -54,7 +54,7 @@ then ...@@ -54,7 +54,7 @@ then
while [ 1 ]; do while [ 1 ]; do
clear clear
date date
redis-cli -p $PORT cluster nodes | head -30 ../../src/redis-cli -p $PORT cluster nodes | head -30
sleep 1 sleep 1
done done
exit 0 exit 0
......
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