Added draft for CSP health checker

This commit is contained in:
2025-05-13 09:10:20 +02:00
parent 72baa9ea28
commit 23496f2fab
18 changed files with 424 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
[Unit]
Description=Check for CSP-blocked resources via Puppeteer
OnFailure=systemd-notifier.cymais@%n.service
[Service]
Type=oneshot
ExecStart=/usr/bin/python3 {{ health_csp_crawler_script }} \
--nginx-config-dir={{ nginx.directories.http.servers }} \
--script={{ health_csp_crawler_node }}