<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
I've successfully loaded and labeled several VCL files with one that routes properly, as outlined on this page:
<div class=""><br class="">
</div>
<div class=""><a href="https://varnish-cache.org/docs/5.1/users-guide/vcl-separate.html" class="">https://varnish-cache.org/docs/5.1/users-guide/vcl-separate.html</a></div>
<div class=""><br class="">
</div>
<div class="">However, I need this setup to load automatically upon reboot of the server without intervention. I found only one article that claims to do this by supplying a cli file to varnishadm via an "I" flag in the daemon_args. I'm running version 5.0
on Ubuntu and the man page does not include this option and attempting to use it causes varnish to fail:</div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(242, 242, 242); background-color: rgba(0, 0, 0, 0.85098);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">varnishd: invalid option -- 'I'</span></div>
<div class=""><br class="webkit-block-placeholder">
</div>
<div class="">The article that describes this method is from <a href="http://varnish-software.com" class="">
varnish-software.com</a> and claims it should work on version 5 and up. Am I to assume that this is only available in the commercial version of varnish?</div>
<div class=""><br class="">
</div>
<div class=""><a href="https://info.varnish-software.com/blog/one-vcl-per-domain?success=true" class="">https://info.varnish-software.com/blog/one-vcl-per-domain?success=true</a></div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">I'm interested in recommendations so that I can rely on varnish to load multiple VCL files upon startup/reboot.</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Thanks!</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Mike</div>
<div class=""><br class="webkit-block-placeholder">
</div>
<div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">
<div style="font-family: Calibri, sans-serif; font-size: 11pt; margin: 0in 0in 0.0001pt;" class="">
<span style="color: rgb(31, 73, 125);" class=""> </span></div>
<div style="font-family: Calibri, sans-serif; font-size: 11pt; margin: 0in 0in 0.0001pt;" class="">
<br class="">
</div>
</div>
</div>
</div>
</div>
</body>
</html>