• 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
..
varnishadm Loading commit data...
varnishd Loading commit data...
varnishhist Loading commit data...
varnishlog Loading commit data...
varnishncsa Loading commit data...
varnishstat Loading commit data...
varnishtest Loading commit data...
varnishtop Loading commit data...
Makefile.am Loading commit data...
Makefile.phk Loading commit data...
flint.lnt Loading commit data...