mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-26 02:48:32 +01:00
remove devture services
This commit is contained in:
parent
79685c728b
commit
c3900aaf1b
@ -21,6 +21,13 @@ else
|
|||||||
rm -f {{ devture_systemd_docker_base_systemd_path }}/$s
|
rm -f {{ devture_systemd_docker_base_systemd_path }}/$s
|
||||||
done
|
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
|
systemctl daemon-reload
|
||||||
|
|
||||||
echo "Remove unused Docker images and resources"
|
echo "Remove unused Docker images and resources"
|
||||||
|
Loading…
Reference in New Issue
Block a user