Unverified Commit e57363be authored by Martin Weinelt's avatar Martin Weinelt
Browse files

nixos/postfix-tlspol: fix default settings and config reload

Reloading was insufficient for changing the dns resolver address, so we
make config changes a restart trigger instead.
parent abb09fa0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -90,7 +90,7 @@ in
          };

          dns = {
            server = mkOption {
            address = mkOption {
              type = types.str;
              default = "127.0.0.1:53";
              description = ''
@@ -173,7 +173,7 @@ in
        description = "Postfix DANE/MTA-STS TLS policy socketmap service";
        documentation = [ "https://github.com/Zuplu/postfix-tlspol" ];

        reloadTriggers = [ configFile ];
        restartTriggers = [ configFile ];

        # https://github.com/Zuplu/postfix-tlspol/blob/main/init/postfix-tlspol.service
        serviceConfig = {