[Varnish] #1666: make init script check config before restarting

Varnish varnish-bugs at varnish-cache.org
Thu Jan 29 12:44:09 CET 2015

#1666: make init script check config before restarting
 Reporter:  KlavsKlavsen  |       Type:  defect
   Status:  new           |   Priority:  normal
Milestone:                |  Component:  build
  Version:  unknown       |   Severity:  normal
 Keywords:                |
 Today, if I restart varnish and have made a config mistake - varnish dies
 and I'm having to scramble.. :(

 icinga, named, apache and other init scripts all check config BEFORE doing
 restart and simply exits with an error if config check fails.

 I'd very much like varnish to do the same - I'd suggest simply doing:
 varnishd -C -f /etc/varnish/default.vcl
 and checking return value from that.

Ticket URL: <https://www.varnish-cache.org/trac/ticket/1666>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

More information about the varnish-bugs mailing list