Add pushover-client config (encrypted) and shutdown/bootup notification.

This commit is contained in:
Darren 'Tadgy' Austin 2023-11-04 22:19:05 +00:00
commit abbf3a1412
4 changed files with 5 additions and 0 deletions

1
etc/pushover-client/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/default

Binary file not shown.

View file

@ -3,3 +3,5 @@
#
# This is run by runit in stage 2 before the services are executed
# (see /etc/runit/2).
[[ -x /opt/bin/pushover-client ]] && /opt/bin/pushover-client -p -1 -m "Boot up: ${HOSTNAME%%.*}"

View file

@ -3,3 +3,5 @@
#
# This is run by runit in stage 3 after the services are stopped
# (see /etc/runit/3).
[[ -x /opt/bin/pushover-client ]] && /opt/bin/pushover-client -p -1 -m "Shutting down: ${HOSTNAME%%.*}"