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.