mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 21:19:45 +01:00
borgmatic: fix service permissions
Fixes #5749
(cherry picked from commit 9c5f16d703
)
This commit is contained in:
parent
1bbc1a5a1f
commit
2f23fa308a
2 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||||
|
|
|
@ -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" \
|
||||||
|
|
Loading…
Reference in a new issue