From d12c07d60ab15ae04f5955576253ba189b21f5ac Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 2 Aug 2026 16:26:58 +0300 Subject: gogios: fix Shuriken check template comment (single-line <%#) Rex's <%# ... %> only comments the first line; the multi-line comment was parsed as Perl (bareword 'generation'/'1 week'). --- frontends/etc/gogios.json.tpl | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/frontends/etc/gogios.json.tpl b/frontends/etc/gogios.json.tpl index be003c4..3e8be39 100644 --- a/frontends/etc/gogios.json.tpl +++ b/frontends/etc/gogios.json.tpl @@ -185,11 +185,7 @@ "RunInterval": 300, "Args": ["-w", "2,1,1", "-c", "4,3,3"] }, - <%# Shuriken album freshness: status.json is written last by a successful - generation and pushed to the frontends by shuriken-sync, so a stale - epoch means the daily generation CronJob or the rsync sync is broken. - warn=1 week (604800s), crit=2 weeks (1209600s). Only run when the site - itself is reachable (DependsOn its HTTP checks). -%> + <%# Shuriken album freshness via status.json unix_epoch (written last on success, pushed by shuriken-sync); warn=1w, crit=2w; DependsOn the site HTTP checks. -%> "Check Shuriken Age irregular.ninja": { "Plugin": "/usr/local/bin/check_shuriken_age", "RandomSpread": 10, -- cgit v1.2.3