From: Victor Wagner Date: Wed, 29 Oct 2025 17:43:52 +0000 (+0300) Subject: Added notification script for xmpp messengers X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=96f691ebafd987700485a1d7c252397dfc015dd0;p=oss%2Frestore.git Added notification script for xmpp messengers --- diff --git a/notify-messenger.xmpp b/notify-messenger.xmpp new file mode 100755 index 0000000..a616dd7 --- /dev/null +++ b/notify-messenger.xmpp @@ -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"