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

Varnish varnish-bugs at varnish-cache.org
Tue Dec 15 15:05:27 CET 2015


#1666: make init script check config before restarting
--------------------------+-----------------------
 Reporter:  KlavsKlavsen  |       Owner:  lkarsten
     Type:  defect        |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  build         |     Version:  unknown
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |
--------------------------+-----------------------

Comment (by KlavsKlavsen):

 I just verified.. its possible to make it work with systemd like this:
 (example for apache)..
 ExecReload=/sbin/apachectl configtest && /usr/sbin/httpd $OPTIONS -k
 graceful

 it catches reload.. NOT restart though. But I can make sure my
 configuration management modules use reload (in case they use restart)..

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



More information about the varnish-bugs mailing list