1
0
Fork 0

fix lldap backup (#323)

closes #319
This commit is contained in:
Pierre Penninckx 2024-10-24 21:21:01 +02:00 committed by GitHub
parent b23ce56955
commit b405988e60
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"
]; ];
}; };
}; };