Compare commits
No commits in common. "d0c26f15e2e79ae18cc68da754474c9762518e17" and "560d21c9fe1eda3769511f03713569696c53ca92" have entirely different histories.
d0c26f15e2
...
560d21c9fe
4
main.py
4
main.py
@ -86,10 +86,10 @@ while True:
|
||||
container_id_run = call("echo $(docker ps -q -f name=infra-development_nginx)")
|
||||
else:
|
||||
container_id_run = call("echo $(docker ps -q -f name=infra_nginx)")
|
||||
|
||||
|
||||
print(container_id_run.code, container_id_run.out, container_id_run.err)
|
||||
|
||||
restart = call(f"docker exec {container_id_run.out} ./refre.sh")
|
||||
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