VEGAS/mail: depend on network-online.target

This commit is contained in:
Max Headroom 2024-06-04 18:50:51 +02:00
parent f2fa8aa087
commit 219d298ae2

View file

@ -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";