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
Failed to generate hash of commit
2 changed files with 2 additions and 2 deletions

View file

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

View file

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