* iptables: fix ordering
refs nixpkgs fb46df8a9a4102e265f4b14af48a5df90d5b06c3
This commit is contained in:
parent
7a293af6db
commit
df2ee4e726
@ -68,8 +68,8 @@ let
|
||||
networking.firewall.enable = false;
|
||||
|
||||
systemd.services.krebs-iptables = {
|
||||
description = "krebs-iptables";
|
||||
wantedBy = [ "network-pre.target" ];
|
||||
wantedBy = [ "sysinit.target" ];
|
||||
wants = [ "network-pre.target" ];
|
||||
before = [ "network-pre.target" ];
|
||||
after = [ "systemd-modules-load.service" ];
|
||||
|
||||
@ -85,6 +85,8 @@ let
|
||||
Restart = "always";
|
||||
ExecStart = startScript;
|
||||
};
|
||||
|
||||
unitConfig.DefaultDependencies = false;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -57,8 +57,8 @@ let {
|
||||
networking.firewall.enable = false;
|
||||
|
||||
systemd.services.tv-iptables = {
|
||||
description = "tv-iptables";
|
||||
wantedBy = [ "network-pre.target" ];
|
||||
wantedBy = [ "sysinit.target" ];
|
||||
wants = [ "network-pre.target" ];
|
||||
before = [ "network-pre.target" ];
|
||||
after = [ "systemd-modules-load.service" ];
|
||||
|
||||
@ -79,6 +79,8 @@ let {
|
||||
ip6tables-restore < ${rules 6}
|
||||
'';
|
||||
};
|
||||
|
||||
unitConfig.DefaultDependencies = false;
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user