"""Process heartbeat for Compose; only the trusted LB probes HTTPS readiness.""" from pathlib import Path import sys sys.exit(0 if Path("/tmp/instance-id").is_file() else 1)