services/mail: postfix: wait for primary interface
This commit is contained in:
parent
cf713a6a9e
commit
cf9afa3042
1 changed files with 1 additions and 1 deletions
|
@ -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 = ''
|
||||
enabled = true
|
||||
|
|
Loading…
Reference in a new issue