#!/bin/bash if [ -f "${READY_FILE}" ]; then echo "service is ready and accepting connections" exit 0 fi exit 1