Reloading default.vcl

Darryl Dixon - Winterhouse Consulting darryl.dixon at winterhouseconsulting.com
Tue Jul 1 00:02:52 CEST 2008


> In message <A5F6E7FC-A98A-43C6-B7A6-97CDD7555720 at F4.ca>, Skye Poier Nott
> writes
> :
>>Is it possible to reload /usr/local/etc/varnish/default.vcl without
>>restarting?
>>
>> From the docs it looks like one way to do this would be through the
>>telnet interface:
>>
>>vcl.load some-unique-name /usr/local/etc/varnish/default.vcl
>>vcl.use some-unique-name
>>
>>each time the default.vcl is changed, unless there's reload option I
>>haven't found.
>
> Correct.
>
> Afterwards you can
> 	vcl.discard old-unique-name
>
> if you want to get rid of it.
>

It is pretty easy to automate this all with expect(1) as well, if an
'automated' reload solution is required :)

regards,
Darryl Dixon
Winterhouse Consulting Ltd
http://www.winterhouseconsulting.com



More information about the varnish-misc mailing list