Maybe creds _should_ be in serviceConfig.
https://systemd.io/CREDENTIALS/
This commit is contained in:
parent
d03a8b8ab1
commit
d0b2329ced
|
@ -82,8 +82,6 @@ in {
|
||||||
ProtectKernelLogs = true;
|
ProtectKernelLogs = true;
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
StandardOutput = "journal";
|
StandardOutput = "journal";
|
||||||
};
|
|
||||||
unitConfig = {
|
|
||||||
LoadCredential = "auth.token:${cfg.mattermost-auth-token-file}";
|
LoadCredential = "auth.token:${cfg.mattermost-auth-token-file}";
|
||||||
};
|
};
|
||||||
}) cfg.monitors;
|
}) cfg.monitors;
|
||||||
|
|
Loading…
Reference in New Issue