forked from mirrors/nixpkgs
Merge pull request #77561 from Mic92/openldap
nixos/openldap: check configuration with slaptest
This commit is contained in:
commit
23bdc67f8b
|
@ -259,6 +259,8 @@ in
|
|||
${openldap.out}/bin/slapadd ${configOpts} -l ${dataFile}
|
||||
''}
|
||||
chown -R "${cfg.user}:${cfg.group}" "${cfg.dataDir}"
|
||||
|
||||
${openldap}/bin/slaptest ${configOpts}
|
||||
'';
|
||||
serviceConfig.ExecStart =
|
||||
"${openldap.out}/libexec/slapd -d '${cfg.logLevel}' " +
|
||||
|
|
Loading…
Reference in a new issue