Update CPU and I/O priority
This commit is contained in:
parent
d0fe78a21e
commit
d6b4871ca2
1 changed files with 7 additions and 1 deletions
|
@ -2,9 +2,15 @@
|
||||||
Description=Backup with borgmatic
|
Description=Backup with borgmatic
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
# Lower CPU and I/O priority.
|
||||||
Nice=19
|
Nice=19
|
||||||
IOSchedulingClass=idle
|
CPUSchedulingPolicy=batch
|
||||||
|
IOSchedulingClass=best-effort
|
||||||
|
IOSchedulingPriority=7
|
||||||
|
IOWeight=100
|
||||||
|
|
||||||
KillSignal=SIGINT
|
KillSignal=SIGINT
|
||||||
|
|
||||||
ExecStart=/usr/bin/borgmatic --stats
|
ExecStart=/usr/bin/borgmatic --stats
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Reference in a new issue