nixos/openldap: /var/run -> /run

This commit is contained in:
Bob van der Linden 2018-12-19 22:36:00 +01:00
parent 660ee99293
commit 09d3ea4f67

View File

@ -134,8 +134,8 @@ in
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
preStart = ''
mkdir -p /var/run/slapd
chown -R "${cfg.user}:${cfg.group}" /var/run/slapd
mkdir -p /run/slapd
chown -R "${cfg.user}:${cfg.group}" /run/slapd
${optionalString (cfg.declarativeContents != null) ''
rm -Rf "${cfg.dataDir}"
''}