basics.yml aktualisiert

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

View File

@ -768,16 +768,16 @@
then
echo "$message" | mail -s "notify.sh: $subj" $tomail
fi
## MATRIX
## 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
## SIGNAL
if [ -f /home/signal/.local/share/signal-cli/data/accounts.json ]