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

8 lines
186 B
Django/Jinja

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