I am using pm2 to start a node.js process, and I would like this process to be started automatically when the system (Ubuntu 14.04 on Intel Atom processor) is booted. I have
For pm2 startup to work, there's a critical command buried in documentation and here.
You have to 1) start all your processes, 2) create the startup script, and 3) run pm2 save
pm2 save
Reference to @lazlojuly's answer here.