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

8 lines
189 B
Django/Jinja

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