mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
nixos/prometheus: allow state access for service only
There is no reason for Prometheus state files to be world-readable.
This commit is contained in:
parent
44b5c74960
commit
447b1cf03d
1 changed files with 1 additions and 0 deletions
|
@ -945,6 +945,7 @@ in {
|
|||
RuntimeDirectoryMode = "0700";
|
||||
WorkingDirectory = workingDir;
|
||||
StateDirectory = cfg.stateDir;
|
||||
StateDirectoryMode = "0700";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue