graylog secret and service issues [deploy]
This commit is contained in:
parent
5e6f3dffc0
commit
2d5f082eef
3 changed files with 28 additions and 29 deletions
|
|
@ -25,14 +25,13 @@ in
|
|||
];
|
||||
|
||||
sops.secrets.graylog = {
|
||||
mode = "0400";
|
||||
mode = "0440";
|
||||
owner = "graylog";
|
||||
group = "graylog";
|
||||
};
|
||||
|
||||
systemd.services.graylog = {
|
||||
after = [ "sops-nix.service" ];
|
||||
requires = [ "sops-nix.service" ];
|
||||
serviceConfig = {
|
||||
EnvironmentFile = config.sops.secrets.graylog.path;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue