nice and ionice to restic backup
This commit is contained in:
parent
cbe9cd6946
commit
b42edb434f
1 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,10 @@ User={{ restic_user }}
|
||||||
|
|
||||||
CPUQuota={{ 25 * ansible_processor_vcpus }}%
|
CPUQuota={{ 25 * ansible_processor_vcpus }}%
|
||||||
|
|
||||||
|
Nice=19
|
||||||
|
IOSchedulingClass=best-effort
|
||||||
|
IOSchedulingPriority=7
|
||||||
|
|
||||||
{% if restic_ssh_enabled %}
|
{% if restic_ssh_enabled %}
|
||||||
Environment="RESTIC_REPOSITORY=sftp:{{ restic_ssh_host }}:{{ restic_repository_name }}"
|
Environment="RESTIC_REPOSITORY=sftp:{{ restic_ssh_host }}:{{ restic_repository_name }}"
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
Loading…
Reference in a new issue