summaryrefslogtreecommitdiff
path: root/statuspage/checks/caddy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'statuspage/checks/caddy.sh')
-rw-r--r--statuspage/checks/caddy.sh10
1 files changed, 10 insertions, 0 deletions
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"