nixos/borgbackup: fix network-online.target warning
service runs after network-online.target but doesn't depend on it.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user