Adaptations pour améliorer stabilité et fonctionnalités du role #1
@@ -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
|
||||
Reference in new issue
Block a user