computer-playbook/roles/health-journalctl/templates/health-journalctl.service.j2

8 lines
183 B
Django/Jinja

[Unit]
Description=checking journalctl health
OnFailure=systemd-notifier@%n.service
[Service]
Type=oneshot
ExecStart=/bin/bash {{journalctl_health_check_folder}}health-journalctl.sh