systemd-templates | ||
.gitignore | ||
boot-sms.sh | ||
install.sh | ||
README.md | ||
variables.conf.template | ||
wait-reaching.sh |
Boot SMS
This script uses Free Mobile SMS API to send an SMS informing admin of server reboot.
Files
boot-sms.sh
is the main script.wait-reaching.sh
is used by main script to make sure API service is reachable (in practice, delay is the time required by network to be up).variables.conf.template
contains examples variables definitions, and should be copied locally tovariables.conf
(with any required modifications).systemd-templates/
contains a Systemd units template for running the script at boot.
Installation
install.sh
script copies the Systemd template to its destination, and enable the service.
TODO
- RAS