From 9b064c8ac18710af14c3471b42afa8ca193199c9 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 29 Dec 2022 20:49:03 +0100 Subject: ... --- modules/prometheus-lvm-exporter.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/prometheus-lvm-exporter.nix b/modules/prometheus-lvm-exporter.nix index fe5c4efa..7ef082c3 100644 --- a/modules/prometheus-lvm-exporter.nix +++ b/modules/prometheus-lvm-exporter.nix @@ -11,7 +11,7 @@ in { listenAddress = mkOption { type = types.nullOr types.str; - default = null; + default = "127.0.0.1"; }; port = mkOption { type = types.port; @@ -51,6 +51,7 @@ in { ]}"; Restart = "always"; + Sockets = "prometheus-lvm-exporter.socket"; }; }; -- cgit v1.2.3