about summary refs log tree commit diff
path: root/modules/services/sendsms (follow)
Commit message (Collapse)AuthorAgeFilesLines
* modules/sendsms: gate the unit with a fileFranck Cuny2023-03-271-5/+16
| | | | | | | | | | To prevent the unit to be triggered multiple times if the host has already rebooted, we create a gate file when we're done running, and before running, we check if the file exists. Enable the service on tahoe. Don't restart the unit when its definition has changed.
* fix(modules/sendsms): run it as root for nowFranck Cuny2023-01-071-2/+0
| | | | | | I need to figure a way to make it run as a dynamic user, while still having access to the credentials for twilio, while not changing the permissions to the file.
* feat(modules/sensdms): a module to send an SMSFranck Cuny2022-11-301-0/+63
A new module `sendsms` is added to send SMS when the host reboots. It's triggered by systemd when the host boots and once the network is available.