From e5f83c1fa2f1c8a4506cb10d67f515b981116ea0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc?= Date: Mon, 14 Jun 2021 13:31:28 +0200 Subject: [PATCH] Configure prune script --- podman-matrix/90_prune.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/podman-matrix/90_prune.sh b/podman-matrix/90_prune.sh index 080816a..6b2cf75 100755 --- a/podman-matrix/90_prune.sh +++ b/podman-matrix/90_prune.sh @@ -18,8 +18,12 @@ ensure_systemd_unit_not_exists ${service_name} # remove volume #podman unshare rm -rf ~/${confvolume}/ +podman volume rm matrixdotorg_synapse-data +podman volume rm matrixdotorg_synapse-pgsql # remove images #for image in ${upstream_images} ; do # podman rmi $(podman images -a -q -- ${image}) || echo Image ${image} not found. #done +podman rmi $(podman images -a -q -- ${postgres_image}) || echo Image ${postgres_image} not found. +podman rmi $(podman images -a -q -- ${synapse_image}) || echo Image ${synapse_image} not found.