[Pkg-varnish-devel] Error in varnishncsa initscript from Ubuntu .deb package.

Mark Nellemann mark at xstream.dk
Tue Dec 6 14:55:49 UTC 2011


Hi,

I don't know if this error is present in the debian package as well.
This is on an Ubuntu 10.04 with varnish installed from "deb
http://repo.varnish-cache.org/ubuntu/ lucid varnish-3.0".

A starting curly bracket is missing around the PIDFILE variable.


--- varnishncsa	2011-12-06 15:52:56.832298570 +0100
+++ varnishncsa-orig	2011-12-06 15:52:47.052298575 +0100
@@ -20,7 +20,7 @@
 PIDFILE=/var/run/$NAME/$NAME.pid
 LOGFILE=/var/log/varnish/varnishncsa.log
 USER=varnishlog
-DAEMON_OPTS="-a -w ${LOGFILE} -D -P ${PIDFILE}"
+DAEMON_OPTS="-a -w ${LOGFILE} -D -P $PIDFILE}"

 # Include defaults if available
 if [ -f /etc/default/$NAME ] ; then



/Mark



More information about the Pkg-varnish-devel mailing list