Go to file
2022-09-22 18:48:36 +02:00
systemd-templates Initial commit 2022-08-19 13:50:18 +02:00
.gitignore Initial commit 2022-08-19 13:50:18 +02:00
boot-sms.sh Set scripts to new run_directory norm 2022-09-22 18:48:36 +02:00
install.sh Set scripts to new run_directory norm 2022-09-22 18:48:36 +02:00
README.md Initial commit 2022-08-19 13:50:18 +02:00
variables.conf.template Initial commit 2022-08-19 13:50:18 +02:00
wait-reaching.sh Initial commit 2022-08-19 13:50:18 +02:00

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 to variables.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