borgmatic: specify where to find sleep (#3349)

Closes #3348.
This commit is contained in:
Damien Cassou 2022-10-23 22:52:22 +02:00 committed by GitHub
parent 69d19b9839
commit 186d9399f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -58,7 +58,7 @@ in {
LogRateLimitIntervalSec = 0;
# Delay start to prevent backups running during boot:
ExecStartPre = "sleep 3m";
ExecStartPre = "${pkgs.coreutils}/bin/sleep 3m";
ExecStart = ''
${pkgs.systemd}/bin/systemd-inhibit \

View file

@ -9,7 +9,7 @@ ExecStart=/nix/store/00000000000000000000000000000000-systemd/bin/systemd-inhibi
--list \
--syslog-verbosity 1
ExecStartPre=sleep 3m
ExecStartPre=/nix/store/00000000000000000000000000000000-coreutils/bin/sleep 3m
IOSchedulingClass=best-effort
IOSchedulingPriority=7
IOWeight=100