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:
Lluís Batlle i Rossell 2011-04-14 09:54:46 +00:00
parent 84bea7a351
commit 7a4685d28d

View File

@ -50,6 +50,10 @@ in
startOn = "filesystem";
daemonType = "fork";
preStart =
''
mkdir -p /var/run/slapd
'';
exec = "${openldap}/libexec/slapd -f ${configFile}";
};