1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_restic.git synced 2024-12-11 23:41:32 +01:00

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 %} {% if item.lvm is defined %}
PrivateMounts=on PrivateMounts=on
{% endif %} {% endif %}
ExecStart={{ restic_script_dir }}/backup-{{ item.name }}.sh ExecStart=/usr/bin/nice {{ restic_script_dir }}/backup-{{ item.name }}.sh
TimeoutStartSec=0 TimeoutStartSec=0
Environment="CRON=true" Environment="CRON=true"