Compare commits

...

2 Commits

Author SHA1 Message Date
ad5a22e985 Merge pull request 'fix' (#40) from master into dev
Reviewed-on: #40
2025-06-08 11:05:33 +03:00
Egor Matveev
66eefeb324 fix
All checks were successful
Deploy Dev / Build (pull_request) Successful in 5s
Deploy Dev / Push (pull_request) Successful in 10s
Deploy Dev / Deploy dev (pull_request) Successful in 9s
2025-06-08 11:05:13 +03:00

View File

@ -87,7 +87,8 @@ while True:
else:
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")
print(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)