services/monitoring: tempo: run as tempo user

This commit is contained in:
Max Headroom 2022-06-18 20:53:08 +02:00
parent cefabc1e93
commit b16fbed8a3

View file

@ -64,6 +64,8 @@ in {
systemd.services.tempo = {
wantedBy = [ "multi-user.target" ];
serviceConfig = {
User = "tempo";
Group = "tempo";
ExecStart = "${pkgs.tempo}/bin/tempo -config.file=${pkgs.writeText "tempo.yaml" (builtins.toJSON tempoConfig)}";
PrivateTmp = true;
};