forked from mtusi2026/mtusi2026lab4
13 lines
346 B
Python
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"
|
|
]))
|