Przeglądaj źródła

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

remove devture services in remove-all script
pull/2533/head
Slavi Pantaleev 3 lat temu
committed by GitHub
rodzic
commit
f372403d22
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 7 dodań i 0 usunięć
  1. +7
    -0
      roles/custom/matrix-base/templates/bin/remove-all.j2

+ 7
- 0
roles/custom/matrix-base/templates/bin/remove-all.j2 Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz