Compare commits
No commits in common. "560d21c9fe1eda3769511f03713569696c53ca92" and "4f0571ec02c5630abd6228ace458ac2379e0df7d" have entirely different histories.
560d21c9fe
...
4f0571ec02
5
main.py
5
main.py
@ -89,7 +89,8 @@ while True:
|
||||
|
||||
print(container_id_run.code, container_id_run.out, container_id_run.err)
|
||||
|
||||
restart = call(f"docker exec {container_id_run} ./refre.sh")
|
||||
print(restart.code, restart.out, restart.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)
|
||||
|
||||
time.sleep(30)
|
||||
|
Loading…
Reference in New Issue
Block a user