#!/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" ]))