From cf9afa3042e237e723d0c92ec8c322ff281b4a89 Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 18 Jun 2022 19:42:27 +0200 Subject: [PATCH] services/mail: postfix: wait for primary interface --- hosts/VEGAS/services/mail/postfix.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/VEGAS/services/mail/postfix.nix b/hosts/VEGAS/services/mail/postfix.nix index 664c128..257a181 100644 --- a/hosts/VEGAS/services/mail/postfix.nix +++ b/hosts/VEGAS/services/mail/postfix.nix @@ -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