Files
mtusi2026lab7/scripts/restart_secure.py
T

24 lines
433 B
Python

"""Restart persistent services and rejoin their protected local namespaces."""
from scripts.stand import compose, ready
def main():
compose(
"restart",
"api",
"postgres",
"cache",
"s3",
"broker",
"relay",
"worker",
"lb",
)
compose("up", "-d", "--no-build", "--no-recreate", "--wait")
ready(timeout=90)
if __name__ == "__main__":
main()