mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
nixos/tests/prometheus-exporters/varnish: make state directory explicit
This commit is contained in:
parent
acdf3fca9e
commit
01aab17a2e
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user