[Varnish] #830: Init script doesn't allow you to set DAEMON_OPTS for varnishlog

Varnish varnish-bugs at varnish-cache.org
Thu Dec 9 09:54:59 CET 2010


#830: Init script doesn't allow you to set DAEMON_OPTS for varnishlog
-------------------------+--------------------------------------------------
 Reporter:  wido         |       Owner:  phk               
     Type:  enhancement  |      Status:  new               
 Priority:  normal       |   Milestone:                    
Component:  varnishlog   |     Version:  2.1.4             
 Severity:  normal       |    Keywords:  init,ubuntu,debian
-------------------------+--------------------------------------------------
 The current init script of varnishlog doesn't allow you to specify other
 DAEMON_OPTS, they are hardcoded into the script.

 {{{
 ...
 ...
 test -x $DAEMON || exit 0

 DAEMON_OPTS="-a -w ${LOGFILE} -D -P $PIDFILE"

 start_varnishlog() {
 ...
 ...
 }}}

 It would be nice if you could set those in /etc/default/varnishlog (Ubuntu
 / Debian).

 This way you could specify the output file and what you would like to log
 to the file.

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




More information about the varnish-bugs mailing list