From 704ce58f5cd56e77f5f9ca73c5ab853a3c6b14aa Mon Sep 17 00:00:00 2001 From: olli Date: Sun, 25 Feb 2024 12:56:43 +0100 Subject: [PATCH] docker.yml aktualisiert --- docker.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker.yml b/docker.yml index 12b61ec..b964839 100644 --- a/docker.yml +++ b/docker.yml @@ -196,8 +196,9 @@ then #g_echo_warn "Installiere $docker Update" #docker -l warn compose --ansi never up -d --force-recreate >$g_tmp/up 2>&1 || g_echo_error "$docker: docker compose up fehlgeschlagen: $(cat $g_tmp/up)" + echo $$ >/tmp/$(basename $docker) docker -l warn compose --ansi never up -d --remove-orphans >$g_tmp/up 2>&1 || g_echo_error "$docker: docker compose up fehlgeschlagen: $(cat $g_tmp/up)" - egrep -v -- "-wpcli" $g_tmp/up | grep -q "Started" && g_echo_warn "$docker Update installiert" + egrep -v -- "-wpcli" $g_tmp/up | grep "Started" >${g_tmp}/started && g_echo_warn "$docker Update installiert: $(cat ${g_tmp}/started)" fi if [ -f Dockerfile ] then