summaryrefslogtreecommitdiffstats
path: root/redis-shutdown
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-11-23 13:56:48 +0100
committerRemi Collet <remi@remirepo.net>2020-11-23 13:56:48 +0100
commit556f27c393f76c1f215e5f426145608ebd9b77ca (patch)
treeb06b4fa0adbc7b7549ec8eebfcd166bbedb10067 /redis-shutdown
parent70ef0b40a559570e9588c7b22933a1f60625afe5 (diff)
move configuration in /etc/redis per upstream recommendation
see https://github.com/redis/redis/issues/8051
Diffstat (limited to 'redis-shutdown')
-rw-r--r--redis-shutdown2
1 files changed, 1 insertions, 1 deletions
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`