[4.0] f8cdd8f Add DAEMON_OPTS to ExecStartPre.

Lasse Karstensen lkarsten at varnish-software.com
Mon Sep 14 13:54:17 CEST 2015


commit f8cdd8fcab29bc53cfc72964482ecafaaa85f94f
Author: Lasse Karstensen <lkarsten at varnish-software.com>
Date:   Mon Sep 14 13:53:26 2015 +0200

    Add DAEMON_OPTS to ExecStartPre.
    
    Fixes:	#1787

diff --git a/redhat/varnish.service b/redhat/varnish.service
index ceb1dd7..ed2b572 100644
--- a/redhat/varnish.service
+++ b/redhat/varnish.service
@@ -25,7 +25,7 @@ EnvironmentFile=/etc/varnish/varnish.params
 Type=forking
 PIDFile=/var/run/varnish.pid
 PrivateTmp=true
-ExecStartPre=/usr/sbin/varnishd -C -f $VARNISH_VCL_CONF
+ExecStartPre=/usr/sbin/varnishd -C -f $VARNISH_VCL_CONF $DAEMON_OPTS
 ExecStart=/usr/sbin/varnishd \
 	-P /var/run/varnish.pid \
 	-f $VARNISH_VCL_CONF \



More information about the varnish-commit mailing list