From a065a8207e0a492a23887c460d23299c230d0dd8 Mon Sep 17 00:00:00 2001 From: richard Date: Sat, 6 Jun 2020 22:44:15 -0400 Subject: [PATCH] remove interactive tty from docker run command, in sslproxy renew command --- dockerfiles/services/sslproxy/cli/certbot/renew | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dockerfiles/services/sslproxy/cli/certbot/renew b/dockerfiles/services/sslproxy/cli/certbot/renew index 11159cb..f7a2ca0 100755 --- a/dockerfiles/services/sslproxy/cli/certbot/renew +++ b/dockerfiles/services/sslproxy/cli/certbot/renew @@ -42,7 +42,8 @@ restart_nginx() { containers=$(docker ps -q --filter "status=running" --filter "name=sslproxy_app") for c in $containers; do - docker exec -it $c nginx -s reload + echo -e "\033[94m$c\033[39m" + docker exec -t $c nginx -s reload done }