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

8 lines
201 B
Django/Jinja

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