borgmatic: fix service permissions

Fixes #5749

(cherry picked from commit 9c5f16d703)
This commit is contained in:
sdaqo 2024-09-14 14:03:37 +02:00 committed by Robert Helgesson
parent 1bbc1a5a1f
commit 2f23fa308a
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED
2 changed files with 0 additions and 2 deletions

View file

@ -46,7 +46,6 @@ in {
# Lower CPU and I/O priority:
Nice = 19;
CPUSchedulingPolicy = "batch";
IOSchedulingClass = "best-effort";
IOSchedulingPriority = 7;
IOWeight = 100;

View file

@ -1,5 +1,4 @@
[Service]
CPUSchedulingPolicy=batch
ExecStart=/nix/store/00000000000000000000000000000000-systemd/bin/systemd-inhibit \
--who="borgmatic" \
--what="sleep:shutdown" \