aboutsummaryrefslogtreecommitdiff
path: root/modules/services/sendsms (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-03-27modules/sendsms: gate the unit with a fileFranck Cuny1-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.
2023-01-07fix(modules/sendsms): run it as root for nowFranck Cuny1-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.
2022-11-30feat(modules/sensdms): a module to send an SMSFranck Cuny1-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.