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

8 lines
206 B
Django/Jinja

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