fix
This commit is contained in:
parent
9b89423d95
commit
fa0fc6f3bc
5
main.py
5
main.py
@ -89,8 +89,7 @@ while True:
|
||||
|
||||
print(container_id_run.code, container_id_run.out, container_id_run.err)
|
||||
|
||||
restart = call(f"docker exec {container_id_run} python3 prepare.py")
|
||||
restart2 = call(f"docker exec {container_id_run} nginx -s reload")
|
||||
print(restart.out, restart.err, restart2.out, restart2.err)
|
||||
restart = call(f"docker exec {container_id_run} ./refre.sh")
|
||||
print(restart.code, restart.out, restart.err)
|
||||
|
||||
time.sleep(30)
|
||||
|
Loading…
Reference in New Issue
Block a user