basics.yml aktualisiert
This commit is contained in:
parent
9e1f867f8c
commit
d6052f565a
10
basics.yml
10
basics.yml
@ -768,16 +768,16 @@
|
|||||||
then
|
then
|
||||||
echo "$message" | mail -s "notify.sh: $subj" $tomail
|
echo "$message" | mail -s "notify.sh: $subj" $tomail
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
## MATRIX
|
||||||
## MATRIX
|
|
||||||
room=$(hostname)
|
room=$(hostname)
|
||||||
[ -n "$togroup" ] && room=$togroup
|
[ -n "$togroup" ] && room=$togroup
|
||||||
if [ -f /home/docker/matrix.$(hostname)/matrix-commander-data/credentials.json ]
|
if ps ax | grep -q synapse.app.homeserver
|
||||||
then
|
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
|
fi
|
||||||
|
|
||||||
|
|
||||||
## SIGNAL
|
## SIGNAL
|
||||||
if [ -f /home/signal/.local/share/signal-cli/data/accounts.json ]
|
if [ -f /home/signal/.local/share/signal-cli/data/accounts.json ]
|
||||||
|
Loading…
Reference in New Issue
Block a user