title: Spring Boot project not resolving placeholder variable when restarting with @reboot
body: <p>I have this placeholder variable in the <code>application-DEV.properties</code> file:</p>
  <pre><code>vm.hostname=${hostname}
  </code></pre>
  <p>Apparently this is not being resolved when the app was auto-restarted after VM reboot via <code>@reboot</code> command. I got this well known error:</p>
  <pre><code>Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder &quot;${hostname}&quot;
  </code></pre>
  <p>But when I ran the app as a user on the VM, everything was OK. So I'm guessing at <code>@reboot</code> time, value of <code>${hostname}</code> was not defined at the VM-level for the Spring Boot app to pick it up?</p>