title: Deploy Play Framework 1.5 with pm2
body: <p>I'm trying to deploy my Play App using pm2 through ecosystem file. The application runs but the pm2 fail for 15 times and stop, leaving only the java process running.</p>
  <p>Bellow my ecosystem json file:</p>
  <pre><code>{
      &quot;apps&quot;: [{
              &quot;name&quot;: &quot;Starter&quot;,
              &quot;cwd&quot;: &quot;.&quot;,
              &quot;args&quot;: [
                  &quot;start&quot;
              ],
              &quot;script&quot;: &quot;/home/play/play-1.5.3/play&quot;,
              &quot;interpreter&quot; : &quot;/usr/bin/python3&quot;,
              &quot;node_args&quot;: [],
              &quot;log_date_format&quot;: &quot;YYYY-MM-DD HH:mm Z&quot;,
              &quot;exec_interpreter&quot;: &quot;none&quot;,
              &quot;exec_mode&quot;: &quot;fork&quot;
          }
      ]
  }
  </code></pre>
  <p>Is there a way to do that?</p>
  <p><strong>EDIT 1</strong></p>
  <p>I'm running the script from project root</p>