Last active
July 28, 2020 00:50
-
-
Save michaelhelmick/683d1a56b4488bd40557e311e8b7dbc1 to your computer and use it in GitHub Desktop.
Celery ECS Health Check
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
celery inspect ping -A project -d celery@$HOSTNAME | |
if [ $? -eq 0 ]; then \ | |
echo "OK"; \ | |
exit 0; \ | |
else \ | |
exit 1; \ | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment