This commit is contained in:
Your Name 2024-09-24 22:39:16 -06:00
parent cae763089b
commit 7c4ff30532

View File

@ -1,8 +1,9 @@
#!/bin/bash
#A Simple Message Module that posts alerts to Nostr or SysLog
NOSTR_USER="33c74427f3b2b73d5e38f3e6c991c122a55d204072356f71da49a0e209fb6940"
if [ -e /root/go/bin/algia ]; then
echo "$1" | /root/go/bin/algia dm-post -u 33c74427f3b2b73d5e38f3e6c991c122a55d204072356f71da49a0e209fb6940 --stdin
echo "$1" | /root/go/bin/algia dm-post -u $NOSTR_USER -stdin
else {
logger "$1"
}