From de15d8f2a9d0730cefdaf19c57b8d74a63c4e6c7 Mon Sep 17 00:00:00 2001 From: Gitouche <26656-gitouche@users.noreply.framagit.org> Date: Fri, 4 Jun 2021 11:13:50 +0200 Subject: [PATCH] peerjs-server : update 3/x --- podman-peerjs/50_update.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/podman-peerjs/50_update.sh b/podman-peerjs/50_update.sh index 98b5405..53c797d 100755 --- a/podman-peerjs/50_update.sh +++ b/podman-peerjs/50_update.sh @@ -19,9 +19,14 @@ else echo Rebuilding container ${container_name}. fi +# pull first for minimal downtime podman pull ${upstream_imageversion} ${ABSDIR}/80_destroy.sh ${ABSDIR}/10_install.sh ${ABSDIR}/20_enable.sh ${ABSDIR}/30_start.sh + +podman rmi ${current_imageversion} + +${ABSDIR}/00_status.sh