parent
127f29e076
commit
f0db12bc73
1 changed files with 2 additions and 1 deletions
|
@ -14,8 +14,9 @@ in {
|
||||||
wantedBy = ["multi-user.target"];
|
wantedBy = ["multi-user.target"];
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
|
DynamicUser = true;
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
ExecStart = "${pkgs.prometheus-folder-size-exporter}/bin/prometheus_folder_size_exporter -b 21600 -i ${builtins.toFile "prometheus-folder-size-exporter-config.json" (builtins.toJSON config)} -p 9974";
|
ExecStart = "${pkgs.prometheus-folder-size-exporter}/bin/prometheus-folder-size-exporter -b 60 -i ${builtins.toJSON config} -p 9974";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue