basics.yml aktualisiert

This commit is contained in:
olli 2024-02-22 14:59:17 +01:00
parent 9e1f867f8c
commit d6052f565a

View File

@ -773,9 +773,9 @@
## MATRIX
room=$(hostname)
[ -n "$togroup" ] && room=$togroup
if [ -f /home/docker/matrix.$(hostname)/matrix-commander-data/credentials.json ]
if ps ax | grep -q synapse.app.homeserver
then
docker compose -f /home/docker/matrix.$(hostname)/docker-compose.yml run -T matrix.$(hostname)--commander -k -m "$message" --room $room --log-level WARNING WARNING
sudo /usr/bin/docker compose -f /home/docker/matrix.$(hostname)/docker-compose.yml run -T matrix.$(hostname)--commander -m "$message" -k --room $room --log-level WARNING WARNING
fi