ansible-role-chill/templates/systemd/chill-cronjob@.service

9 lines
238 B
SYSTEMD
Raw Normal View History

2024-12-30 12:19:45 +00:00
[Unit]
Description=Execute cron job for chill with environment %i
[Service]
User={{ as_user }}
ExecStart=/usr/bin/docker compose --file {{ install_dir }}/%i/compose.yaml up cron
Type=simple
# execute maximum 30 minutes
RuntimeMaxSec=1800