Files
mtusi2026lab4-fork/scripts/stop_one.py
2026-11-06 13:57:29 +03:00

13 lines
346 B
Python

#!/usr/bin/env python3
"""Остановить API по TARGET_INSTANCE_ID без зависимости от shell хоста."""
from pathlib import Path
import subprocess
import sys
if __name__ == "__main__":
raise SystemExit(subprocess.call([
sys.executable, str(Path(__file__).with_name("replicas.py")), "stop-target"
]))