Varnish DAEMON_OPTS Options Errors
rudi at hyperfocusmedia.com
Fri May 6 07:15:58 CEST 2011
You mean something like this?
DAEMON_OPTS="-a :8080 \
-T localhost:2000 \
-S /etc/varnish/secret \
-s file,/var/lib/varnish/$INSTANCE/varnish_storage.bin,512M \
-p cc_command='exec /etc/varnish/docc.sh'"
# cat /etc/varnish/docc.sh
cc -fpic -shared -Wl,-x -L/usr/include/libmemcached/memcached.h
-lmemcached -o %o %s
# /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