1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2024-12-14 11:57:55 +00:00

borgmatic: fix service permissions

Fixes #5749
This commit is contained in:
sdaqo 2024-09-14 14:03:37 +02:00 committed by Robert Helgesson
parent e524c57b1f
commit 9c5f16d703
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: # Lower CPU and I/O priority:
Nice = 19; Nice = 19;
CPUSchedulingPolicy = "batch";
IOSchedulingClass = "best-effort"; IOSchedulingClass = "best-effort";
IOSchedulingPriority = 7; IOSchedulingPriority = 7;
IOWeight = 100; IOWeight = 100;

View file

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