db-tutorial/codes/redis/redis-config/sentinel3/linux/stop-all.sh

10 lines
235 B
Bash

redis_cli=redis-cli
$redis_cli -p 26382 SHUTDOWN NOSAVE
$redis_cli -p 26381 SHUTDOWN NOSAVE
$redis_cli -p 26380 SHUTDOWN NOSAVE
$redis_cli -p 6382 SHUTDOWN NOSAVE
$redis_cli -p 6381 SHUTDOWN NOSAVE
$redis_cli -p 6380 SHUTDOWN NOSAVE