the company uses pm2 to manage the node application. After pm2 start the application runs fine. But sometime, it is crash, and can't restart by itself.
Are there any options I can make the command with a feature to restart itself when crashed, similar feature as docker run with --restart=always?