You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 lines
411 B

#!/bin/bash -x
cd "$(dirname "$(realpath "$0")")"
. common.sh
units_changed=''
for unit in "${systemd_units[@]}"; do
if [ -f "$user_systemd_dir/$unit" ]; then
systemctl user disable --now $unit
rm -f "$user_systemd_dir/$unit"
units_changed=true
fi
done
if [ "$units_changed" ]; then
systemctl --user daemon-reload
fi
./rm.sh
podman volume rm $vol
podman volume rm $db_vol