diff --git a/podman-privatebin/10_install.sh b/podman-privatebin/10_install.sh index f15c360..0346713 100755 --- a/podman-privatebin/10_install.sh +++ b/podman-privatebin/10_install.sh @@ -30,4 +30,6 @@ podman run -d --read-only --restart=always --name ${container_name} \ -v ${srvdata_volume}:/srv/data:Z \ -v ${varlibnginxtmp_volume}:/var/lib/nginx/tmp:Z \ privatebin-nginx-fpm-alpine && -podman stop ${container_name} +( podman logs -f ${container_name} 2>&1 & ) | grep -q 'NOTICE: ready to handle connections' && +podman stop ${container_name} && +echo Container ${container_name} successfully built and stopped.