• Poul-Henning Kamp's avatar
    Implement varnishd -I <cli_file> · 9e272275
    Poul-Henning Kamp authored
    The CLI commands in the file are executed before the worker
    process is started, and the output is sent to stderr.
    
    CLI failures (!= 200) are fatal, unless the command is prefixed
    with a '-' in the file.
    
    You can now do things like:
    
    	$ cat I.file
    	vcl.load vcl1 /foo/bar1.vcl
    	vcl.load vcl2 /foo/bar2.vcl
    	vcl.load vcl3 /foo/bar3.vcl
    	start
    	$ varnishd -f '' -I I.file -a :80 [...]
    9e272275
Name
Last commit
Last update
..
cache Loading commit data...
common Loading commit data...
hash Loading commit data...
hpack Loading commit data...
http1 Loading commit data...
http2 Loading commit data...
mgt Loading commit data...
proxy Loading commit data...
storage Loading commit data...
waiter Loading commit data...
Makefile.am Loading commit data...
Makefile.phk Loading commit data...
builtin.vcl Loading commit data...
flint.lnt Loading commit data...
flint.sh Loading commit data...
vclflint.lnt Loading commit data...
vclflint.sh Loading commit data...