From e3b8d2a5b3f52529d0859ad8ef32e3fd7c91b362 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Fri, 20 Nov 2026 16:59:31 +0100 Subject: [PATCH] Remove one-off containers after sending short messages `docker compose run` creates a new container on each execution, which accumulated (`-cron-run-`). Use `--rm` to remove it at the end. Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01VnXP3D1srf5k8MrtPFUz93 --- templates/systemd/chill-send-sms@.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/systemd/chill-send-sms@.service b/templates/systemd/chill-send-sms@.service index 25d4283..285d7b2 100644 --- a/templates/systemd/chill-send-sms@.service +++ b/templates/systemd/chill-send-sms@.service @@ -3,7 +3,7 @@ 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 +ExecStart=/usr/bin/docker compose --file {{ install_dir }}/%i/compose.yaml run --rm cron bin/console chill:calendar:send-short-messages Type=simple # execute maximum 30 minutes RuntimeMaxSec=1800 \ No newline at end of file