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