From d85bcaecf0bfc8feb5f455f491b786336e4cf08b Mon Sep 17 00:00:00 2001 From: Juraj Bednar Date: Sun, 17 Nov 2024 12:37:48 +0100 Subject: [PATCH] Add timeout to let the simplex-message propagate to the relay --- README.md | 2 +- signal-monitoring.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b2839e0..037b65a 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,7 @@ SIMPLEX_DESTINATION="nickname" If something does not work, the command that should work is: ``` -simplex-chat -e '@nickname This is a test' +simplex-chat -e '@nickname This is a test' -t 10 ``` ## Why this project diff --git a/signal-monitoring.sh b/signal-monitoring.sh index 201b9a1..6c783bd 100755 --- a/signal-monitoring.sh +++ b/signal-monitoring.sh @@ -50,7 +50,7 @@ function notify { # LXMF / Reticulum / Sideband #echo "$1" | LXMF-NotifyBot.py "${LXMF_DESTINATION}" "${LXMF_NAME}" "${LXMF_PROPAGATION}" > /dev/null # SimpleX - #simplex-chat -e "@${SIMPLEX_DESTINATION} ${1}" > /dev/null + #(simplex-chat -e "@${SIMPLEX_DESTINATION} ${1}" -t 10 > /dev/null) & log "Sending notification ${1}" }