VEGAS/mail: depend on network-online.target
This commit is contained in:
parent
f2fa8aa087
commit
219d298ae2
1 changed files with 8 additions and 2 deletions
|
@ -90,8 +90,14 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.postfix.after = [ "network-online.target" "network-addresses-${interfaces.primary.link}.service" "network-addresses-vstub.service" ];
|
systemd.services.postfix = {
|
||||||
systemd.services.postfix-setup.after = [ "network-online.target" "network-addresses-${interfaces.primary.link}.service" "network-addresses-vstub.service" ];
|
after = [ "network-online.target" "network-addresses-${interfaces.primary.link}.service" "network-addresses-vstub.service" ];
|
||||||
|
wants = [ "network-online.target" ];
|
||||||
|
};
|
||||||
|
systemd.services.postfix-setup = {
|
||||||
|
after = [ "network-online.target" "network-addresses-${interfaces.primary.link}.service" "network-addresses-vstub.service" ];
|
||||||
|
wants = [ "network-online.target" ];
|
||||||
|
};
|
||||||
|
|
||||||
services.fail2ban.jails.postfix.settings = {
|
services.fail2ban.jails.postfix.settings = {
|
||||||
mode = "extra";
|
mode = "extra";
|
||||||
|
|
Loading…
Reference in a new issue