Openldap needs a directory in /var/run to start, and it seems it's clean at every boot.
svn path=/nixos/trunk/; revision=26840
This commit is contained in:
parent
84bea7a351
commit
7a4685d28d
1 changed files with 4 additions and 0 deletions
|
@ -50,6 +50,10 @@ in
|
|||
startOn = "filesystem";
|
||||
daemonType = "fork";
|
||||
|
||||
preStart =
|
||||
''
|
||||
mkdir -p /var/run/slapd
|
||||
'';
|
||||
exec = "${openldap}/libexec/slapd -f ${configFile}";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue