Compare commits
No commits in common. "d288a8a8835fcfc2530ae86e48e71c5c38cc1d12" and "78eeea9e0855b2521881572db4e830b51517cd1d" have entirely different histories.
d288a8a883
...
78eeea9e08
2
main.py
2
main.py
@ -87,7 +87,7 @@ while True:
|
|||||||
else:
|
else:
|
||||||
container_id_run = call(f"echo $(docker ps -q -f name=infra_nginx)").out
|
container_id_run = call(f"echo $(docker ps -q -f name=infra_nginx)").out
|
||||||
|
|
||||||
restart = call(f"docker exec {container_id_run} python3 prepare.py && nginx -s reload")
|
restart = call("docker exec {container_id_run} python3 prepare.py && nginx -s reload")
|
||||||
print(restart.out + restart.err)
|
print(restart.out + restart.err)
|
||||||
|
|
||||||
time.sleep(30)
|
time.sleep(30)
|
||||||
|
Loading…
Reference in New Issue
Block a user