summaryrefslogtreecommitdiff
path: root/hosts/vidhar/prometheus
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-12-29 20:58:54 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-12-29 20:58:54 +0100
commitde4a30ef8a19c16d55321bbf719a77529e8875c7 (patch)
treee25eb36b9c8346967b08b4c480be1a302e1fa777 /hosts/vidhar/prometheus
parentbf9bdbfe3d6151b6dd4dd45ed3cabf0891c5b223 (diff)
downloadnixos-de4a30ef8a19c16d55321bbf719a77529e8875c7.tar
nixos-de4a30ef8a19c16d55321bbf719a77529e8875c7.tar.gz
nixos-de4a30ef8a19c16d55321bbf719a77529e8875c7.tar.bz2
nixos-de4a30ef8a19c16d55321bbf719a77529e8875c7.tar.xz
nixos-de4a30ef8a19c16d55321bbf719a77529e8875c7.zip
...
Diffstat (limited to 'hosts/vidhar/prometheus')
-rw-r--r--hosts/vidhar/prometheus/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/hosts/vidhar/prometheus/default.nix b/hosts/vidhar/prometheus/default.nix
index f9200f54..b188f7e6 100644
--- a/hosts/vidhar/prometheus/default.nix
+++ b/hosts/vidhar/prometheus/default.nix
@@ -396,9 +396,9 @@ in {
396 cfg = config.services.prometheus.exporters.systemd; 396 cfg = config.services.prometheus.exporters.systemd;
397 in { 397 in {
398 serviceConfig = { 398 serviceConfig = {
399 ExecStart = mkForce "${pkgs.prometheus-systemd-exporter}/bin/systemd_exporter ${utils.escapeSystemdExecArgs [ 399 ExecStart = mkForce "${pkgs.prometheus-systemd-exporter}/bin/systemd_exporter ${utils.escapeSystemdExecArgs ([
400 "--web.listen-address" "${cfg.listenAddress}:${toString cfg.port}" 400 "--web.listen-address" "${cfg.listenAddress}:${toString cfg.port}"
401 ] ++ cfg.extraFlags}"; 401 ] ++ cfg.extraFlags)}";
402 ReadWritePaths = ["/run/dbus/system_bus_socket"]; 402 ReadWritePaths = ["/run/dbus/system_bus_socket"];
403 BindReadOnlyPaths = ["/proc" "/sys"]; 403 BindReadOnlyPaths = ["/proc" "/sys"];
404 }; 404 };