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