forked from mtusi2026/mtusi2026lab4
solution
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#!/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"
|
||||
]))
|
||||
Reference in New Issue
Block a user