]> www.wagner.pp.ru Git - oss/restore.git/blobdiff - notify-messenger
Added ability to send messages to instant messenger
[oss/restore.git] / notify-messenger
diff --git a/notify-messenger b/notify-messenger
new file mode 100755 (executable)
index 0000000..ac83092
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/sh
+# This and example of script called from backup script to notify 
+# sysadmin about backup status
+# This version sends message to default matrix room configured in root's
+# ~/.config/matrix-commander/credentials.json
+# You can use XMPP or some proprietary messenger such as telegram
+# instead
+matrix-commander -m -