]> www.wagner.pp.ru Git - oss/restore.git/blob - notify-messenger
Debugged matrix notifications
[oss/restore.git] / notify-messenger
1 #!/bin/sh
2 # This and example of script called from backup script to notify 
3 # sysadmin about backup status
4 # This version sends message to default matrix room configured in root's
5 # ~/.config/matrix-commander/credentials.json
6 # and expected that matrix-commander store is in th ${HOME}/store of 
7 # invoking user(root)
8 # You can use XMPP or some proprietary messenger such as telegram
9 # instead
10 matrix-commander -m - -s ${HOME}/store