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

7 lines
194 B
Plaintext
Raw Normal View History

2023-04-16 13:24:41 +02:00
[Unit]
Description=freeing disc space
OnFailure=systemd-email@%n.service
[Service]
Type=oneshot
2023-04-16 14:06:37 +02:00
ExecStart=/bin/bash {{free_disc_space_folder}}free-disc-space.sh {{size_percent_free_disc_space}}