]> wagner.pp.ru Git - oss/restore.git/commitdiff
Added notification script for xmpp messengers master
authorVictor Wagner <vitus@wagner.pp.ru>
Wed, 29 Oct 2025 17:43:52 +0000 (20:43 +0300)
committerVictor Wagner <vitus@wagner.pp.ru>
Wed, 29 Oct 2025 17:43:52 +0000 (20:43 +0300)
notify-messenger.xmpp [new file with mode: 0755]

diff --git a/notify-messenger.xmpp b/notify-messenger.xmpp
new file mode 100755 (executable)
index 0000000..a616dd7
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+# This and example of script called from backup script to notify 
+# sysadmin about backup status
+# This version sends message to specified xmpp account as user,
+# configured in root's
+# ~/.config/xmppc.conf
+# should be renamed to just notify-messenger to use.
+read -r message
+xmppc -m message chat vitus@wagner.pp.ru "$message"