relay: address the account by phone number and pass the message via -m

signal-cli 0.14.7 parses an all-digit -a value as a phone number (the
numeric account name never resolves), and the message is a -m option,
not a positional (a positional is parsed as a second recipient).
Verified live: corrected invocation returns type SUCCESS.
This commit is contained in:
Frank
2026-09-17 18:28:20 -07:00
parent f73a7e80a1
commit 698759c61e
3 changed files with 12 additions and 5 deletions
+1 -1
View File
@@ -473,7 +473,7 @@ assert any('ALERTS' in e for e in exprs), exprs
local handler="$REPO_ROOT/scripts/deploy-remote.sh"
grep -q 'signal-cli' "$relay"
grep -q 'SIGNAL_CLI = "/usr/local/bin/signal-cli"' "$relay"
grep -q 'SIGNAL_ACCOUNT = "318311"' "$relay"
grep -q 'SIGNAL_ACCOUNT = "+12062476336"' "$relay"
grep -q 'LISTEN_ADDR = ("192.168.0.143", 18093)' "$relay"
grep -q -- '--dport 18093 -s 127.0.0.1 -j ACCEPT' "$handler"
grep -q -- '--dport 18093 -s 192.168.0.143 -j ACCEPT' "$handler"