parent
b23ce56955
commit
b405988e60
1 changed files with 5 additions and 2 deletions
|
@ -112,9 +112,12 @@ in
|
||||||
'';
|
'';
|
||||||
readOnly = true;
|
readOnly = true;
|
||||||
default = {
|
default = {
|
||||||
user = "lldap";
|
# TODO: is there a workaround that avoid needing to use root?
|
||||||
|
# root because otherwise we cannot access the private StateDiretory
|
||||||
|
user = "root";
|
||||||
|
# /private because the systemd service uses DynamicUser=true
|
||||||
sourceDirectories = [
|
sourceDirectories = [
|
||||||
"/var/lib/lldap"
|
"/var/lib/private/lldap"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue