matrix
This commit is contained in:
parent
28e9f2c3df
commit
fbaf5caba7
@ -779,8 +779,8 @@
|
|||||||
then
|
then
|
||||||
matrix_message=$(echo "${subj}<br>${orig_message}")
|
matrix_message=$(echo "${subj}<br>${orig_message}")
|
||||||
matrix_target="/usr/local/share/$(hostname).fifo"
|
matrix_target="/usr/local/share/$(hostname).fifo"
|
||||||
[ -n "$togroup" ] && [ -p "/usr/local/share/$(hostname)-${togroup}.fifo" ] && target="/usr/local/share/$(hostname)-${togroup}.fifo"
|
[ -n "$togroup" ] && [ -p "/usr/local/share/$(hostname)-${togroup}.fifo" ] && matrix_target="/usr/local/share/$(hostname)-${togroup}.fifo"
|
||||||
echo "$matrix_message" >"$target"
|
echo "$matrix_message" >"$matrix_target"
|
||||||
else
|
else
|
||||||
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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user