forked from mirrors/nixpkgs
nixos/ldap: restart nslcd when configuration changes
This commit is contained in:
parent
f6cd17269e
commit
d89aff670a
|
@ -276,7 +276,12 @@ in
|
|||
} >"$conf"
|
||||
mv -fT "$conf" /run/nslcd/nslcd.conf
|
||||
'';
|
||||
restartTriggers = [ "/run/nslcd/nslcd.conf" ];
|
||||
|
||||
restartTriggers = [
|
||||
nslcdConfig
|
||||
cfg.bind.passwordFile
|
||||
cfg.daemon.rootpwmodpwFile
|
||||
];
|
||||
|
||||
serviceConfig = {
|
||||
ExecStart = "${nslcdWrapped}/bin/nslcd";
|
||||
|
|
Loading…
Reference in a new issue