Update CPU and I/O priority

This commit is contained in:
Benoit S 2021-10-23 13:37:51 +09:00
parent d0fe78a21e
commit d6b4871ca2

View file

@ -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]