diff options
| -rw-r--r-- | modules/prometheus-lvm-exporter.nix | 3 |
1 files changed, 2 insertions, 1 deletions
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 { | |||
| 11 | 11 | ||
| 12 | listenAddress = mkOption { | 12 | listenAddress = mkOption { |
| 13 | type = types.nullOr types.str; | 13 | type = types.nullOr types.str; |
| 14 | default = null; | 14 | default = "127.0.0.1"; |
| 15 | }; | 15 | }; |
| 16 | port = mkOption { | 16 | port = mkOption { |
| 17 | type = types.port; | 17 | type = types.port; |
| @@ -51,6 +51,7 @@ in { | |||
| 51 | ]}"; | 51 | ]}"; |
| 52 | 52 | ||
| 53 | Restart = "always"; | 53 | Restart = "always"; |
| 54 | Sockets = "prometheus-lvm-exporter.socket"; | ||
| 54 | }; | 55 | }; |
| 55 | }; | 56 | }; |
| 56 | 57 | ||
