Pārlūkot izejas kodu

remove devture services

pull/2531/head
array-in-a-matrix pirms 3 gadiem
vecāks
revīzija
c3900aaf1b
1 mainītis faili ar 7 papildinājumiem un 0 dzēšanām
  1. +7
    -0
      roles/custom/matrix-base/templates/bin/remove-all.j2

+ 7
- 0
roles/custom/matrix-base/templates/bin/remove-all.j2 Parādīt failu

@@ -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"


Notiek ielāde…
Atcelt
Saglabāt