correction de la détection de la fin du démarrage

This commit is contained in:
KsmoinO 2022-11-27 10:00:16 +01:00
parent 54f58eb257
commit 42c7029b9f

View file

@ -45,7 +45,7 @@ if ! podman image exists ${database_image}:${database_version}; then
fi
podman-compose --pod-args="--infra=true --infra-name=${project_name}_infra --share=" --podman-run-args "--requires=${project_name}_infra --env-file .env" up -d &&
echo -n "Waiting for vaultwarden to finish starting " &&
( podman logs -f ${container_name} 2>&1 & ) | grep -q 'HTTP Server listening at ' &&
( podman logs -f ${container_name} 2>&1 & ) | grep -q 'Rocket has launched from ' &&
echo "OK" &&
podman pod stop ${pod_name} &&
echo Pod built and stopped. &&