PM2 command to run ecosystem file
Once the file is properly configured in JSON format, run this command:
pm2 start ecosystem.json
The output should be similar to this:
[PM2] Applying action restartProcessId on app [x509](ids: [ 0 ])
[PM2] [x509](0) ✓
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │
├───────────────────────────────────────────────