From 556f27c393f76c1f215e5f426145608ebd9b77ca Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 23 Nov 2020 13:56:48 +0100 Subject: move configuration in /etc/redis per upstream recommendation see https://github.com/redis/redis/issues/8051 --- redis-shutdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'redis-shutdown') diff --git a/redis-shutdown b/redis-shutdown index 53b9f09..1a4335a 100644 --- a/redis-shutdown +++ b/redis-shutdown @@ -12,7 +12,7 @@ if [ -z "$SERVICE_NAME" ]; then fi # Get the proper config file based on service name -CONFIG_FILE="/etc/$SERVICE_NAME.conf" +CONFIG_FILE="/etc/redis/$SERVICE_NAME.conf" # Use awk to retrieve host, port from config file HOST=`awk '/^[[:blank:]]*bind/ { print $2 }' $CONFIG_FILE | tail -n1` -- cgit