Start an app

The simplest way to start, daemonize and monitor your application is by using this command line

$ pm2 start app.js

Or start any other application easily

$ pm2 start bashscript.sh
$ pm2 start python-app.py --watch
$ pm2 start binary-file -- --port 1520
Comments