nixos/tests/prometheus-exporters/varnish: make state directory explicit (#353418)

This commit is contained in:
Christian Kögler 2024-11-04 07:10:21 +01:00 committed by GitHub
commit 563a48ffd8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {