mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 19:23:50 +00:00
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
@ -50,6 +50,10 @@ in
|
|||||||
startOn = "filesystem";
|
startOn = "filesystem";
|
||||||
daemonType = "fork";
|
daemonType = "fork";
|
||||||
|
|
||||||
|
preStart =
|
||||||
|
''
|
||||||
|
mkdir -p /var/run/slapd
|
||||||
|
'';
|
||||||
exec = "${openldap}/libexec/slapd -f ${configFile}";
|
exec = "${openldap}/libexec/slapd -f ${configFile}";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user