mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-14 13:39:15 +03:00
nixos/tests/prometheus-exporters/varnish: make state directory explicit
This commit is contained in:
parent
acdf3fca9e
commit
01aab17a2e
1 changed files with 2 additions and 1 deletions
|
@ -1610,7 +1610,7 @@ let
|
||||||
varnish = {
|
varnish = {
|
||||||
exporterConfig = {
|
exporterConfig = {
|
||||||
enable = true;
|
enable = true;
|
||||||
instance = "/var/spool/varnish/varnish";
|
instance = "/run/varnish/varnish";
|
||||||
group = "varnish";
|
group = "varnish";
|
||||||
};
|
};
|
||||||
metricProvider = {
|
metricProvider = {
|
||||||
|
@ -1619,6 +1619,7 @@ let
|
||||||
];
|
];
|
||||||
services.varnish = {
|
services.varnish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
stateDir = "/run/varnish/varnish";
|
||||||
config = ''
|
config = ''
|
||||||
vcl 4.0;
|
vcl 4.0;
|
||||||
backend default {
|
backend default {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue