title: How to skip pm2 app restarts on crashes within first X time
body: <p>I deal with some NodeJS apps with a bit special corporate policy on auto-restarting.
  The application cannot be auto-restarted when crashing within the first minute since startup. If it crashes that early, it should be left in the <code>pm2</code> "errored" state.</p>
  
  <p>If it successfully reaches that time and crashes later on, the restarts can occur. Is it something that can be achieved with <code>pm2</code>?</p>
  
  <p>I know there are options like <code>min_uptime</code> or <code>max_restarts</code>, but I don't think I can switch off restarts only in the first X seconds?</p>
  
  <p>Any ideas on the solution or workarounds?</p>