title: How to change max open files limit(s) for spring-boot init.d service
body: <p>Trying to change default open file limit value for <strong>spring-boot</strong> application (in Debian based system), which is started as <strong>init</strong> (System V) script, but I have difficulties finding a solution:</p>
  
  <ol>
  <li>General recommendation is to add <code>ulimit -n</code> line to /etc/init.d/. Not possible, since in spring-boot case  it's just a symlink to jar file.</li>
  <li>spring-boot itself does not provide environment property or any convenient mechanism to do that.</li>
  <li><code>/etc/security/limits.conf</code> is not a solution either (does not effect daemons started during init)</li>
  </ol>
  
  <p>Any ideas? Thanks</p>