services/mail: postfix: wait for primary interface

This commit is contained in:
Max Headroom 2022-06-18 19:42:27 +02:00
parent cf713a6a9e
commit cf9afa3042

View file

@ -93,7 +93,7 @@ in
}; };
}; };
systemd.services.postfix.after = [ "network-online.target" "network-addresses-vstub.service" ]; systemd.services.postfix.after = [ "network-online.target" "network-addresses-${interfaces.primary.link}.service" "network-addresses-vstub.service" ];
services.fail2ban.jails.postfix = '' services.fail2ban.jails.postfix = ''
enabled = true enabled = true