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:
9
templates/systemd/chill-send-sms@.service
Normal file
9
templates/systemd/chill-send-sms@.service
Normal 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
|
||||
Reference in New Issue
Block a user