pm2 icon indicating copy to clipboard operation
pm2 copied to clipboard

Start in stopped mode

Open zontafil opened this issue 9 years ago • 3 comments
trafficstars

Hello, I'm trying to build a dev environment with pm2. Basically I'm planning to install needed deps with pm2 deploy, but I need to add my services to pm2 list without starting them, as I need to start them later manually. Is it possible, or am I thinking about the problem the wrong way?

thanks.

zontafil avatar Feb 19 '16 15:02 zontafil

I need to start them later manually

They will just start then. Why would you need to add them to the process database in advance?

sholladay avatar Mar 16 '16 00:03 sholladay

+1

I would like to have the same functionality. I only need to start the load balancer process on deployment and let it start the other processes when needed, otherwise, the server will be overloaded on deployment.

SunSatION avatar Dec 31 '16 10:12 SunSatION

I'm going through the issues to find mentions about not auto-starting a new process, which I now created a PR for: #5780

ultimate-tester avatar Mar 08 '24 19:03 ultimate-tester

Feature landed

Update PM2 to 5.4.0

$ npm install [email protected] -g
$ pm2 update

Unitech avatar May 24 '24 12:05 Unitech