basics.yml aktualisiert
This commit is contained in:
parent
9e1f867f8c
commit
d6052f565a
10
basics.yml
10
basics.yml
@ -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 ]
|
||||
|
Loading…
Reference in New Issue
Block a user