From 01aab17a2eff47862eeb56e10ef0723d66bd7861 Mon Sep 17 00:00:00 2001 From: Wim de With Date: Sun, 3 Nov 2024 16:42:04 +0100 Subject: [PATCH] nixos/tests/prometheus-exporters/varnish: make state directory explicit --- nixos/tests/prometheus-exporters.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/tests/prometheus-exporters.nix b/nixos/tests/prometheus-exporters.nix index a66154baeac2..f408a38b2a6c 100644 --- a/nixos/tests/prometheus-exporters.nix +++ b/nixos/tests/prometheus-exporters.nix @@ -1610,7 +1610,7 @@ let varnish = { exporterConfig = { enable = true; - instance = "/var/spool/varnish/varnish"; + instance = "/run/varnish/varnish"; group = "varnish"; }; metricProvider = { @@ -1619,6 +1619,7 @@ let ]; services.varnish = { enable = true; + stateDir = "/run/varnish/varnish"; config = '' vcl 4.0; backend default {