Add chill-send-sms systemd service and timer

Introduced new systemd `chill-send-sms@.service` and `chill-send-sms@.timer` to schedule and execute SMS sending feature. Updated Ansible tasks to manage these units.
This commit is contained in:
2025-10-27 16:29:25 +01:00
parent 789a3229e5
commit e1cb23a9a6
3 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
[Unit]
Description=Execute send-short-messages for chill with environment %i
[Service]
User={{ as_user }}
ExecStart=/usr/bin/docker compose --file {{ install_dir }}/%i/compose.yaml run cron bin/console chill:calendar:send-short-messages
Type=simple
# execute maximum 30 minutes
RuntimeMaxSec=1800