Varnish DAEMON_OPTS Options Errors and Debian startup script
Cosimo Streppone
cosimo at streppone.it
Wed Nov 30 23:10:20 CET 2011
This thread about starting up varnish with a custom cc_command:
https://www.varnish-cache.org/lists/pipermail/varnish-misc/2011-May/thread.html#6114
was never "closed".
I think I found the cause of the problem.
Due to the way $DAEMON_OPTS is included in the start-stop-daemon command,
and because of bash vs dash differences, if your default shell is dash
the command is not expanded correctly.
Copying and pasting exactly the same 'start-stop-daemon' command
in a bash shell works just fine.
http://stackoverflow.com/questions/5906603/varnish-daemon-opts-options-errors/8333333#8333333
If other people could confirm that this workaround works for them,
maybe we could even file a bug in Debian.
--
Cosimo
More information about the varnish-misc
mailing list