Reloading default.vcl
Poul-Henning Kamp
phk at phk.freebsd.dk
Mon Jun 30 23:54:01 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.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the varnish-misc
mailing list