nixos/kresd: fix CacheDirectory permissions as per tmpfiles
This commit is contained in:
parent
ed89d043dc
commit
1a6240bde4
1 changed files with 2 additions and 2 deletions
|
@ -129,9 +129,9 @@ in {
|
|||
systemd.services."kresd@".serviceConfig = {
|
||||
ExecStart = "${package}/bin/kresd --noninteractive "
|
||||
+ "-c ${package}/lib/knot-resolver/distro-preconfig.lua -c ${configFile}";
|
||||
# Ensure correct ownership in case UID or GID changes.
|
||||
# Ensure /var/cache/knot-resolver exists
|
||||
CacheDirectory = "knot-resolver";
|
||||
CacheDirectoryMode = "0750";
|
||||
CacheDirectoryMode = "0770";
|
||||
};
|
||||
|
||||
# Try cleaning up the previously default location of cache file.
|
||||
|
|
Loading…
Reference in a new issue