From 96f691ebafd987700485a1d7c252397dfc015dd0 Mon Sep 17 00:00:00 2001 From: Victor Wagner Date: Wed, 29 Oct 2025 20:43:52 +0300 Subject: [PATCH] Added notification script for xmpp messengers --- notify-messenger.xmpp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 notify-messenger.xmpp 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" -- 2.47.3