Add prerequisite to kdc secondary too

This commit is contained in:
niten 2023-09-02 12:29:25 -07:00
parent 3d585efebe
commit 5fa5877579
1 changed files with 2 additions and 0 deletions

View File

@ -326,6 +326,8 @@ let
bindClause = "--addresses=${concatStringsSep "," ips}";
in "${pkgs.heimdal}/libexec/heimdal/kdc --config-file=${kdcConf} --ports=88 ${bindClause}";
};
unitConfig.ConditionPathExists =
[ cfg.kdc.database cfg.kdc.secondary.keytabs.hpropd ];
};
"heimdal-hpropd@" = {