Migration matrix podman 4.1 - Fix 4/x

This commit is contained in:
KsmoinO 2022-11-05 20:00:03 +01:00
parent 45de9f17bb
commit 2186f898e6

View file

@ -36,7 +36,7 @@ echo -n "Waiting for PostgreSQL to be ready... " &&
( podman logs -f synapse-db 2>&1 & ) | grep -q 'database system is ready to accept connections' && ( podman logs -f synapse-db 2>&1 & ) | grep -q 'database system is ready to accept connections' &&
echo "OK." && echo "OK." &&
podman run -d --name ${container_name} --pod ${pod_name} --requires=${project_name}_infra --net ${project_name}_default \ podman run -d --name ${container_name} --pod ${pod_name} --requires=${project_name}_infra --net ${project_name}_default \
--mount type=volume,src=${confvolume},dst=/data ${synapse_image}:${synapse_version} --publish ${listen_if}:${listen_port}:8008 && --mount type=volume,src=${confvolume},dst=/data --publish ${listen_if}:${listen_port}:8008 ${synapse_image}:${synapse_version} &&
echo -n "Waiting for background tasks to end... " && echo -n "Waiting for background tasks to end... " &&
( podman logs -f synapse 2>&1 & ) | grep -q 'No more background updates to do' && ( podman logs -f synapse 2>&1 & ) | grep -q 'No more background updates to do' &&
echo "OK." && echo "OK." &&