migration of open-etc-friends-pool for use with Etica/EGAZ
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
358 B

#!/bin/bash
# This is a shell script to reset a Redis pool.
# Define the Redis CLI command to flush the specified database.
REDIS_CLI="redis-cli"
DB_NUMBER=0
# Function to reset the Redis pool.
reset_redis_pool() {
$REDIS_CLI -n $DB_NUMBER flushdb
echo "Redis pool reset complete."
}
# Call the function to reset the Redis pool.
reset_redis_pool