#!/usr/bin/env python3
"""Backward-compatible shim for systemd ExecStart.

All logic lives in scripts/heartbeat/ package.
This file exists so systemd ExecStart path doesn't change.
"""
import sys

from heartbeat.__main__ import main

# Re-export for test harness compatibility
from heartbeat.checks import run_checks as _run_checks  # noqa: F401
from heartbeat.formatter import format_message as _format_message  # noqa: F401

if __name__ == "__main__":
    sys.exit(main())
