Update 10_install.sh

This commit is contained in:
Gitouche 2022-02-14 06:43:58 +00:00
parent d19a626fd8
commit ed09573db5

View file

@ -30,4 +30,6 @@ podman run -d --read-only --restart=always --name ${container_name} \
-v ${srvdata_volume}:/srv/data:Z \ -v ${srvdata_volume}:/srv/data:Z \
-v ${varlibnginxtmp_volume}:/var/lib/nginx/tmp:Z \ -v ${varlibnginxtmp_volume}:/var/lib/nginx/tmp:Z \
privatebin-nginx-fpm-alpine && 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.