Skip to content

Commit

Permalink
nixos/tests/prometheus-exporters/varnish: make state directory explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
wfdewith committed Nov 3, 2024
1 parent acdf3fc commit 01aab17
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nixos/tests/prometheus-exporters.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1610,7 +1610,7 @@ let
varnish = {
exporterConfig = {
enable = true;
instance = "/var/spool/varnish/varnish";
instance = "/run/varnish/varnish";
group = "varnish";
};
metricProvider = {
Expand All @@ -1619,6 +1619,7 @@ let
];
services.varnish = {
enable = true;
stateDir = "/run/varnish/varnish";
config = ''
vcl 4.0;
backend default {
Expand Down

0 comments on commit 01aab17

Please sign in to comment.