PM2 v2.2.1 Release Notes

    • ๐Ÿ‘ #2559 New startup system. Supported init system: systemd, upstart, launchd

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

    SystemD, Upstart and Launchd scripts work like a charm

    • #2515 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
    
    • #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
    • ๐Ÿ“ฑ Responsive pm2 list (shortened list when < 90 columns)
    • ๐Ÿ–จ 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(, , [params], [cb])