correction de la détection de la fin du démarrage
This commit is contained in:
parent
54f58eb257
commit
42c7029b9f
|
@ -45,7 +45,7 @@ if ! podman image exists ${database_image}:${database_version}; then
|
||||||
fi
|
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 &&
|
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 " &&
|
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" &&
|
echo "OK" &&
|
||||||
podman pod stop ${pod_name} &&
|
podman pod stop ${pod_name} &&
|
||||||
echo Pod built and stopped. &&
|
echo Pod built and stopped. &&
|
||||||
|
|
Loading…
Reference in a new issue