Files
portal/deploy/ctao-portal-build.timer
T
ctao 2817353c46 CTAO Science Portal: static Astro site with git-based CMS (Sveltia + Gitea)
Portal code only; editorial content lives in the ctao/content repo on the
demo machine's Gitea and is overlaid at build time (see README.md and
deploy/README.md). Live demo: https://astro.isl-dev.grid.cyfronet.pl
2026-09-08 13:49:21 +02:00

19 lines
641 B
SYSTEMD

# CTAO portal demo — poll cadence for the build worker.
# OnUnitInactiveSec: next tick 10 s after the previous run FINISHES (it is
# deactivation-relative; OnUnitActiveSec would be start-relative). Overlap is
# impossible either way — a timer never activates a still-running unit.
# OnActiveSec covers `systemctl --user enable --now` (first tick 5 s later);
# OnBootSec covers reboot. Enable: systemctl --user enable --now ctao-portal-build.timer
[Unit]
Description=CTAO portal demo — poll the code and content repos every 10 s
[Timer]
OnActiveSec=5
OnBootSec=30
OnUnitInactiveSec=10
AccuracySec=1s
[Install]
WantedBy=timers.target