Receive a pushover notification when a server first boots
Rust 100.0%
6 1 0

Clone this repository

https://tangled.org/papertigers.net/reboot-notifier https://tangled.org/did:plc:iy7icualvwtzm3qedjfmvr5p/reboot-notifier
git@tangled.org:papertigers.net/reboot-notifier git@tangled.org:did:plc:iy7icualvwtzm3qedjfmvr5p/reboot-notifier

For self-hosted knots, clone URLs may differ based on your setup.

Download tar.gz
README.md

reboot-notifier#

This is a small rust program that's responsible for sending a pushover notification when the server first boots up.

reboot-notifier provides a transient SMF service that you can modify for your env like so:

$ pfexec svccfg import smf/reboot-notifier.xml
$ pfexec svccfg -s reboot-notifier setprop start/user = mike
$ pfexec svccfg -s reboot-notifier setprop start/group = mike
$ pfexec svccfg -s reboot-notifier setprop config/file = /etc/reboot-notifier.toml
$ pfexec svcadm refresh reboot-notifier
$ pfexec svcadm enable reboot-notifier

Check out example-config.toml for all of the config options needed to use reboot-notifier.