nixos-module: fix blocklist-update.service network requirement
This commit is contained in:
parent
9297791a9b
commit
2776e007c3
|
@ -270,7 +270,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.blocklist-update = lib.mkIf cfg.hunter.enable {
|
systemd.services.blocklist-update = lib.mkIf cfg.hunter.enable {
|
||||||
requires = [ "network-online.target" ];
|
after = [ "network.target" ];
|
||||||
path = with pkgs; [ coreutils wget ];
|
path = with pkgs; [ coreutils wget ];
|
||||||
script = ''
|
script = ''
|
||||||
T=$(mktemp blocklistXXXX)
|
T=$(mktemp blocklistXXXX)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user