automatically compile default.vcl at startup

Alex F alex at acasa.ro
Fri Jun 11 11:12:44 CEST 2010


Hello,
One little question:
Shouldn't varnish automatically compile my vcl when I start it up?

DAEMON_OPTS="-a 127.0.0.1:3880 \
              -T 192.168.100.1:6082 \
              -f /etc/varnish/default.vcl \
              -u varnish -g varnish \
              -s malloc,2G"

service varnish start
Starting varnish HTTP accelerator: storage_malloc: max size 2048 MB.
Using old SHMFILE
[  OK  ]

telnet 192.168.100.1 6082
vcl.list
200 23
active          1 boot

and I have to manually load it:
vcl.load default.vcl /etc/varnish/default.vcl
200 13
VCL compiled.
vcl.use default.vcl
200 0
vcl.list
200 53
available       0 boot
active          1 default.vcl

It used to compile it automatically.




More information about the varnish-misc mailing list