#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
_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
--------------------------+--------------------
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
_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs