From 36b576424159445e55236bd38d7d86772c7c387b Mon Sep 17 00:00:00 2001 From: Attila Kovacs Date: Fri, 20 Dec 2024 12:14:27 +0100 Subject: [PATCH] Change cli name to valkey-cli if used with valkey --- install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install.sh b/install.sh index dd8e893..b3830ff 100755 --- a/install.sh +++ b/install.sh @@ -122,6 +122,9 @@ fi if [ "$REDIS" != "redis" ] ; then echo "Updating systemd service name to $REDIS.service" sed -i "s:redis.service:$REDIS.service:g" $SYSTEMD/smax-scripts.service + + echo "Updating cli to $REDIS-cli in scripts" + sed -i "s:redis-cli:$REDIS-cli:g" $SYSTEMD/smax-*.sh fi START_SMAX=1