nixos/unifi: create data directory with correct permissions

This commit is contained in:
WilliButz 2019-08-05 15:00:03 +02:00
parent fb8b7f605f
commit d6a4902662
No known key found for this signature in database
GPG Key ID: 92582A10F1179CB2

View File

@ -148,7 +148,7 @@ in
systemd.tmpfiles.rules = [
"e '${stateDir}' 0700 unifi - - -"
"e '${stateDir}/data' 0700 unifi - - -"
"d '${stateDir}/data' 0700 unifi - - -"
];
systemd.services.unifi = {