PID file; VCL code generation

Dag-Erling Smørgrav des at linpro.no
Fri Oct 13 10:52:08 CEST 2006


Christoph Schug <chris+varnish-misc at schug.net> writes:
> o PID file
>   It would be very nice to have a PID file which can be used in some
>   start/stop scripts. IMHO some killall(1) approch is not very nice,
>   especially when running multiple instances of Varnish on the very same
>   machine (e.g. release version and current SVN version).

Yes, that would be a good idea.

> o VCL code generation
>   As far as I can see, lib/libvcl/vcc_compile.c just picks up some
>   cc(1) for VCL code generation. As I have boxes with different C
>   compilers installed I'm currently doing sed(1) substs at build
>   time. Nevertheless I guess having a configurable path here would be
>   benefical.

Ideally, this would be farmed out to a helper script to allow easy
modification of the compiler command and parameters.

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no



More information about the varnish-misc mailing list