computer-playbook/roles/native-free-disc-space/templates/free-disc-space.service.j2

7 lines
197 B
Django/Jinja

[Unit]
Description=freeing disc space
OnFailure=systemd-notifier@%n.service
[Service]
Type=oneshot
ExecStart=/bin/bash {{free_disc_space_folder}}free-disc-space.sh {{size_percent_free_disc_space}}