This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tango-maat/test/reset_redis4maat.sh
yw 745f4c21bb 1.REMOVE .a and .so, and add gitignore file
2.FIX reset_redis4maat.sh set SEQ value end with \r bug
2017-07-19 17:13:59 +08:00

11 lines
308 B
Bash

#!/bin/sh
host="127.0.0.1"
port="6379"
echo "Reseting Redis For Maat..."
redis-cli -h $host -p $port GET MAAT_VERSION
redis-cli -h $host -p $port FLUSHALL
redis-cli -h $host -p $port SET MAAT_VERSION "1"
redis-cli -h $host -p $port SET SEQUENCE_REGION "1"
redis-cli -h $host -p $port SET SEQUENCE_GROUP "1"