title: Hook into NextJS server startup
body: <p>How do I hook into the startup of a NextJS server so that I can do one-off initialization?</p>
  <p>There's a <a href="https://github.com/vercel/next.js/discussions/11686" rel="nofollow noreferrer">discussion here</a> but so far no solution.</p>