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:
parent
3d161abd3e
commit
4d21e0f4c1
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue