Skip to content

Instantly share code, notes, and snippets.

@michaelhelmick
Last active July 28, 2020 00:50
Show Gist options
  • Save michaelhelmick/683d1a56b4488bd40557e311e8b7dbc1 to your computer and use it in GitHub Desktop.
Save michaelhelmick/683d1a56b4488bd40557e311e8b7dbc1 to your computer and use it in GitHub Desktop.
Celery ECS Health Check
#!/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