mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
nixos/firewall-iptables: ensure correct ordering w.r.t. shutdown.target
This commit is contained in:
parent
a7a5b2eca1
commit
5ab8a128de
@ -308,8 +308,9 @@ in
|
||||
description = "Firewall";
|
||||
wantedBy = [ "sysinit.target" ];
|
||||
wants = [ "network-pre.target" ];
|
||||
before = [ "network-pre.target" ];
|
||||
after = [ "systemd-modules-load.service" ];
|
||||
before = [ "network-pre.target" "shutdown.target" ];
|
||||
conflicts = [ "shutdown.target" ];
|
||||
|
||||
path = [ cfg.package ] ++ cfg.extraPackages;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user