From 4f31e37014ed7d3c67f31ea57b1ed5a1804fc707 Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 30 Oct 2023 01:40:43 +0100 Subject: [PATCH] cluster/services/idm: wait for nscd before starting idm-nss-ready --- cluster/services/idm/modules/idm-nss-ready.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cluster/services/idm/modules/idm-nss-ready.nix b/cluster/services/idm/modules/idm-nss-ready.nix index 9b28a2f..19cb5c8 100644 --- a/cluster/services/idm/modules/idm-nss-ready.nix +++ b/cluster/services/idm/modules/idm-nss-ready.nix @@ -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;