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

8 lines
204 B
Django/Jinja

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