From 6e192551a8b8370e13fff594ae214179f85af21d Mon Sep 17 00:00:00 2001 From: Gitouche <26656-gitouche@users.noreply.framagit.org> Date: Fri, 18 Nov 2022 11:07:52 +0100 Subject: [PATCH] ntfy : better install --- podman-ntfy/10_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/podman-ntfy/10_install.sh b/podman-ntfy/10_install.sh index f35f52e..20c11b9 100755 --- a/podman-ntfy/10_install.sh +++ b/podman-ntfy/10_install.sh @@ -15,7 +15,7 @@ if ! podman image exists ${ntfy_image}:${ntfy_version}; then fi podman run --name ${container_name} -p ${listen_if}:${listen_port}:8080 -d ${ntfy_image}:${ntfy_version} serve --listen-http :8080 --base-url ${GARBAYE_NTFY_BASE_URL} && +( podman logs -f ${container_name} 2>&1 & ) | grep -q 'INFO Listening on' && podman cp config/server.yml ${container_name}:/etc/ntfy/server.yml && -sleep 10 && podman stop ${container_name} && echo Container ${container_name} successfully built and stopped.