Skip to content

Commit

Permalink
Change cli name to valkey-cli if used with valkey
Browse files Browse the repository at this point in the history
  • Loading branch information
attipaci committed Dec 20, 2024
1 parent f29ade3 commit 786871f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ 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

if [[ $REDIS != redis* ]] ; then
echo "Updating cli to $REDIS-cli in scripts"
sed -i "s:redis-cli:$REDIS-cli:g" $STAGE/bin/smax-*.sh
fi
fi

START_SMAX=1
Expand Down

0 comments on commit 786871f

Please sign in to comment.