Skip to content

Instantly share code, notes, and snippets.

@pht1 pht1/wait-for-redis.sh Secret
Created Mar 7, 2019

Embed
What would you like to do?
#!/bin/bash
until redis-cli --scan &>/dev/null; do
echo "Redis server not yet ready..."
sleep 1
done
echo "Redis server up!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.