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 = { systemd.services.idm-nss-ready = {
description = "Wait for IDM NSS"; description = "Wait for IDM NSS";
requires = [ "kanidm-unixd.service" "nss-user-lookup.target" ]; requires = [ "kanidm-unixd.service" "nscd.service" "nss-user-lookup.target" ];
after = [ "kanidm-unixd.service" ]; after = [ "kanidm-unixd.service" "nscd.service" ];
before = [ "nss-user-lookup.target" ]; before = [ "nss-user-lookup.target" ];
serviceConfig = { serviceConfig = {
ExecStart = lib.getExe idmReady; ExecStart = lib.getExe idmReady;