halkyon/deploy/runner/halkyon-morning.timer

16 lines
620 B
SYSTEMD
Raw Permalink Normal View History

# halkyon-morning.service at 05:00:00 daily (ADR 0039, D6), and two minutes after every
# boot: a reboot or a power cut inside the window would otherwise leave the heavy sidecars
# stopped (unless-stopped keeps a stopped container so) until the next morning. The
# runner's own timer never catches up after a boot, so they don't meet. As
# /etc/systemd/system/halkyon-morning.timer, enabled with
# `systemctl enable --now halkyon-morning.timer`.
[Unit]
Description=halkyon.li: night.sh start at 05:00:00 and after boot
[Timer]
OnCalendar=*-*-* 05:00:00
OnBootSec=2min
Persistent=false
[Install]
WantedBy=timers.target