Varnish DAEMON_OPTS Options Errors

Rudi rudi at hyperfocusmedia.com
Fri May 6 07:15:58 CEST 2011


Hi,

You mean something like this?

1)
DAEMON_OPTS="-a :8080 \
             -T localhost:2000 \
             -f /srv/xshare/conf/varnish-default.conf-example
             -S /etc/varnish/secret \
             -s file,/var/lib/varnish/$INSTANCE/varnish_storage.bin,512M \
             -p cc_command='exec /etc/varnish/docc.sh'"

2)
# cat /etc/varnish/docc.sh
cc -fpic -shared -Wl,-x -L/usr/include/libmemcached/memcached.h
-lmemcached -o %o %s

3)
# /etc/init.d/varnish start
Starting HTTP accelerator: varnishd failed!
storage_file: filename: /var/lib/varnish/vbox.local/varnish_storage.bin
size 512 MB.
Too many arguments (/etc/varnish/docc.sh'...)


I've tried a few slight variations but all have errors.

Thanks for the suggestion, do you think there's anything else I could
try along these lines?






More information about the varnish-misc mailing list