From dfec6df2fb876fadb20d24a5bd8f4b4400a0f659 Mon Sep 17 00:00:00 2001 From: batsumaru <> Date: Wed, 1 Jul 2026 15:38:51 +0900 Subject: Split monolithic status check.sh into modular check scripts Replace the single-file prototype with independently-addable check scripts (checks/*.sh) that each emit JSONL rows, a shared helper lib, and one orchestrator/renderer (render.sh) that groups rows by section and writes the static status page. A broken check script now shows up as a down/warn row instead of crashing the whole render. Co-Authored-By: Claude Sonnet 5 --- statuspage/checks/caddy.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 statuspage/checks/caddy.sh (limited to 'statuspage/checks/caddy.sh') diff --git a/statuspage/checks/caddy.sh b/statuspage/checks/caddy.sh new file mode 100644 index 0000000..9e88a00 --- /dev/null +++ b/statuspage/checks/caddy.sh @@ -0,0 +1,10 @@ +#!/bin/sh +# checks/caddy.sh +# Host reverse proxy service. +set -eu + +DIR=$(dirname "$0") +. "$DIR/../lib/common.sh" + +STATUS=$(svc_status caddy) +json_line "host services" "caddy" "" "$STATUS" -- cgit v1.3