call restic backup script with nice

This commit is contained in:
Felix Andersen 2024-01-03 18:32:15 +00:00
parent 3d161abd3e
commit 4d21e0f4c1

View file

@ -10,6 +10,6 @@ Type=oneshot
{% if item.lvm is defined %}
PrivateMounts=on
{% endif %}
ExecStart={{ restic_script_dir }}/backup-{{ item.name }}.sh
ExecStart=/usr/bin/nice {{ restic_script_dir }}/backup-{{ item.name }}.sh
TimeoutStartSec=0
Environment="CRON=true"