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

8 lines
177 B
Django/Jinja

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