A reboot or a power cut between 01:55 and 05:00 left them stopped until the next morning: halkyon-morning.timer now also fires two minutes after boot. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
16 lines
620 B
SYSTEMD
16 lines
620 B
SYSTEMD
# 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
|