From f34c235804dc622f00f9f66dd74a2f277c316755 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Fri, 22 Dec 2023 20:29:00 +0100 Subject: [PATCH] Added description how to clean matrix-ansible manual --- roles/docker-matrix-ansible/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/roles/docker-matrix-ansible/README.md b/roles/docker-matrix-ansible/README.md index 605a82ca..c2d2c4a4 100644 --- a/roles/docker-matrix-ansible/README.md +++ b/roles/docker-matrix-ansible/README.md @@ -8,5 +8,13 @@ Matrix is an open-source project that provides a protocol for secure, decentrali This software uses https://github.com/spantaleev/matrix-docker-ansible-deploy as a base. +## DANGER: Manuell deativation and deletion +Be carefull what you do. This code you can execute: +``` +systemctl list-units --type=service | grep 'matrix' | awk '{print $1}' | xargs -I {} systemctl disable {} && +systemctl list-units --type=service | grep 'matrix' | awk '{print $1}' | xargs -I {} systemctl stop {} && +rm -rv /a +``` + ## Alternativ Matrix Setup Role An alternativ role to deploy Matrix you will find [here](../docker-matrix-compose/) \ No newline at end of file