mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
Merge pull request #301528 from Mic92/borgbackup-fix
nixos/borgbackup: fix network-online.target warning
This commit is contained in:
commit
13cc579932
1 changed files with 1 additions and 0 deletions
|
@ -123,6 +123,7 @@ let
|
||||||
};
|
};
|
||||||
# if remote-backup wait for network
|
# if remote-backup wait for network
|
||||||
after = optional (cfg.persistentTimer && !isLocalPath cfg.repo) "network-online.target";
|
after = optional (cfg.persistentTimer && !isLocalPath cfg.repo) "network-online.target";
|
||||||
|
wants = optional (cfg.persistentTimer && !isLocalPath cfg.repo) "network-online.target";
|
||||||
};
|
};
|
||||||
|
|
||||||
# utility function around makeWrapper
|
# utility function around makeWrapper
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue