Skip to content

Commit

Permalink
borgbackup: Specify dependencies correctly
Browse files Browse the repository at this point in the history
Otherwise it says:

Failed to add dependency on borgbackup-job-albali, ignoring: Invalid argument
  • Loading branch information
kirelagin authored and balsoft committed Dec 25, 2020
1 parent 53316d9 commit 5f5469b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/backup/borgbackup.nix
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ let

mkCheckService = name: cfg: nameValuePair "borgbackup-check-${name}" rec {
description = "Check BorgBackup repository ${name}";
after = [ "borgbackup-job-${name}" ];
after = [ "borgbackup-job-${name}.service" ];
conflicts = after;
path = with pkgs; [ borgbackup openssh ];
serviceConfig = {
Expand Down

0 comments on commit 5f5469b

Please sign in to comment.