diff --git a/templates/restic.service.j2 b/templates/restic.service.j2 index 924381b..b47d276 100644 --- a/templates/restic.service.j2 +++ b/templates/restic.service.j2 @@ -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"