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"
|
} >"$conf"
|
||||||
mv -fT "$conf" /run/nslcd/nslcd.conf
|
mv -fT "$conf" /run/nslcd/nslcd.conf
|
||||||
'';
|
'';
|
||||||
restartTriggers = [ "/run/nslcd/nslcd.conf" ];
|
|
||||||
|
restartTriggers = [
|
||||||
|
nslcdConfig
|
||||||
|
cfg.bind.passwordFile
|
||||||
|
cfg.daemon.rootpwmodpwFile
|
||||||
|
];
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${nslcdWrapped}/bin/nslcd";
|
ExecStart = "${nslcdWrapped}/bin/nslcd";
|
||||||
|
|
Loading…
Reference in a new issue