mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Added draft for CSP health checker
This commit is contained in:
9
roles/health-csp/templates/health-csp.service.j2
Normal file
9
roles/health-csp/templates/health-csp.service.j2
Normal 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 }}
|
Reference in New Issue
Block a user