Add pushover-client and configuration.

This commit is contained in:
Darren 'Tadgy' Austin 2025-09-18 19:55:44 +00:00
commit eb4db66bfd
5 changed files with 716 additions and 0 deletions

View file

@ -0,0 +1,4 @@
#!/bin/bash
# Alert that this host is up.
( sleep 30; [[ -x /opt/sbin/pushover-client ]] && /opt/sbin/pushover-client -p -1 -m "Boot up: ${HOSTNAME%%.*}" ) &

View file

@ -0,0 +1,4 @@
#!/bin/bash
# Alert that this host is going down.
[[ -x /opt/sbin/pushover-client ]] && /opt/sbin/pushover-client -p -1 -m "Shut down: ${HOSTNAME%%.*}" &

View file

@ -0,0 +1,3 @@
QUIET="true"
TOKEN="a484bt3qn6d78noowrik1rwhk3beuk"
USER_KEYS="uscT77WKKzaNoLWXZDiBaECab3pE9z"