PrivateBin : grande simplification - fix 1/x

This commit is contained in:
Gitouche 2024-11-22 18:44:00 +01:00
parent 7f3b15e3f1
commit a1dd1ea876

View file

@ -20,7 +20,7 @@ podman container run -d --read-only --name ${container_name} \
--mount=type=tmpfs,destination=/run,U=true \ --mount=type=tmpfs,destination=/run,U=true \
--mount=type=tmpfs,destination=/tmp \ --mount=type=tmpfs,destination=/tmp \
--mount=type=tmpfs,destination=/var/lib/nginx/tmp,U=true \ --mount=type=tmpfs,destination=/var/lib/nginx/tmp,U=true \
-v ${srvdata_volume}:/srv/data:UZ \ -v ${srvdata_volume}:/srv/data:U,Z \
"${privatebin_image}":"${privatebin_version}" && "${privatebin_image}":"${privatebin_version}" &&
( podman container logs -f ${container_name} 2>&1 & ) | grep -q 'NOTICE: ready to handle connections' && ( podman container logs -f ${container_name} 2>&1 & ) | grep -q 'NOTICE: ready to handle connections' &&
podman container stop ${container_name} && podman container stop ${container_name} &&