cluster/services/idm: wait for nscd before starting idm-nss-ready

This commit is contained in:
Max Headroom 2023-10-30 01:40:43 +01:00
parent f1f3cdc668
commit 4f31e37014

View file

@ -31,8 +31,8 @@ in
{
systemd.services.idm-nss-ready = {
description = "Wait for IDM NSS";
requires = [ "kanidm-unixd.service" "nss-user-lookup.target" ];
after = [ "kanidm-unixd.service" ];
requires = [ "kanidm-unixd.service" "nscd.service" "nss-user-lookup.target" ];
after = [ "kanidm-unixd.service" "nscd.service" ];
before = [ "nss-user-lookup.target" ];
serviceConfig = {
ExecStart = lib.getExe idmReady;