Merge pull request #2531 from array-in-a-matrix/master

remove devture services in remove-all script
This commit is contained in:
Slavi Pantaleev 2023-03-01 09:00:24 +02:00 committed by GitHub
commit f372403d22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,6 +21,13 @@ else
rm -f {{ devture_systemd_docker_base_systemd_path }}/$s
done
echo "Stop and remove devture services"
for s in $(find {{ devture_systemd_docker_base_systemd_path }}/ -type f -name "devture-*" -printf "%f\n"); do
systemctl disable --now $s
rm -f {{ devture_systemd_docker_base_systemd_path }}/$s
done
systemctl daemon-reload
echo "Remove unused Docker images and resources"