npm pm2 2.2.1

latest releases: 5.3.1, 5.3.0, 5.2.2...
7 years ago

New Startup System

New startup system. Supported init system: systemd, upstart, launchd, rcd
Documentation: http://pm2.keymetrics.io/docs/usage/startup/

$ pm2 startup   # Auto detect available init system + Setup init scripts
$ pm2 unstartup # Disable and Remove init scripts

Install PM2 via APT!

New way to install PM2 on Debian based system:

$ wget -O - http://apt.pm2.io/ubuntu/apt.pm2.io.gpg.key | sudo apt-key add -
$ echo "deb http://apt.pm2.io/ubuntu xenial main" | sudo tee /etc/apt/sources.list.d/pm2.list
$ sudo apt-get update
$ sudo apt-get install pm2

Responsive PM2 list

Now when PM2 detects a small terminal, the list get shrinked automatically:

responsive

Various fix

  • #1090 pm2 resurrect does not respawn the same processes
  • #2544 Attach logs to exception
  • #2545 Right exit code via pm2 api
  • #2543 Fix module pid/mem monitoring
  • #2537 Remove duplicated code in Configuration subsystem
  • If not TTY do not print ascii table
  • #2509 Trigger functions inside Node.js application from the PM2 CLI
  • Rename pm2.triggerCustomAction() by pm2.trigger(<app_id>, <action_name>, [params], [cb])

Don't miss a new pm2 release

NewReleases is sending notifications on new releases.