6 lines
175 B
Python
6 lines
175 B
Python
"""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)
|