Nov 262012
 

Reload a varnish VCL configuration file without restarting varnish.

To list all the named configurations that varnishd currently has, use vcl.list.

vcl.load tells varnishd to load and compile the VCL file (/etc/varnish/default.vcl-APACHE), and assign it the name reload01.

vcl.use tells varnishd to use the new VCL file.

# varnishadm -S /etc/varnish/secret -T 127.0.0.1:6082

vcl.list

200 23

active 3 boot

vcl.load reload01 /etc/varnish/default.vcl-APACHE

200 13

VCL compiled

vcl.use reload01

200 0

vcl.list

200 50

available 0 boot

active 3 reload01

quit

500 22

15,431 total views, 8 views today

 Posted by at 6:02 pm  Tagged with:

 Leave a Reply

*

© 2011 Indimon Internet Services

Site last updated March 11, 2017 @ 9:57 am; This content last updated November 30, 2012 @ 1:56 pm

Return to Top ▲Return to Top ▲