repair destroy + specifique matrix

This commit is contained in:
KsmoinO 2022-11-05 23:55:12 +01:00
parent cef10f2120
commit 617f3e409d
2 changed files with 10 additions and 2 deletions

View File

@ -18,7 +18,6 @@ ${ABSDIR}/70_disable.sh
rm -f ${HOME}/.config/systemd/user/${service_name}
systemctl --user daemon-reload
podman pod rm ${pod_name}
podman network rm ${project_name}_default
for volume in ${nonpersistent_volumes}; do
podman volume rm ${volume}

View File

@ -1 +0,0 @@
../_podman-common/80_destroy_pod.sh

10
podman-matrix/80_destroy.sh Executable file
View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
ABSDIR="$( dirname "$(readlink -f -- "$0")" )"
source ${ABSDIR}/../functions.sh
source ${ABSDIR}/vars.sh
# Run regular prune script for pods
source ${ABSDIR}/../_podman-common/80_destroy_pod.sh &&
# Remove pod network
podman network rm ${project_name}_default