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

7 lines
106 B
Bash

redis_cli=redis-cli
pushd ..
$redis_cli -p 26381 SHUTDOWN NOSAVE
$redis_cli -p 6381 SHUTDOWN NOSAVE
popd