0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

nixos/borgbackup: fix network-online.target warning

service runs after network-online.target but doesn't depend on it.
This commit is contained in:
Jörg Thalheim 2024-04-04 13:49:17 +02:00
parent 3265871df6
commit 44fd320df6

View file

@ -123,6 +123,7 @@ let
};
# if remote-backup wait for network
after = optional (cfg.persistentTimer && !isLocalPath cfg.repo) "network-online.target";
wants = optional (cfg.persistentTimer && !isLocalPath cfg.repo) "network-online.target";
};
# utility function around makeWrapper