computer-playbook/roles/health-disc-space/templates/health-disc-space.service.j2

8 lines
205 B
Django/Jinja

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