Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Foreman start multiple processes?

I have three processes defined in my Procfile. Sometimes, I only want to run two of them. Is there a command for that?

$ foreman start process_1 process_2
ERROR: "foreman start" was called with arguments ["process_1", "process_2"]
Usage: "foreman start [PROCESS]"
like image 218
ma11hew28 Avatar asked Jun 27 '15 23:06

ma11hew28


1 Answers

You could use the -c or --concurrency option and just specify the processes you want to start:

$ foreman start -c process_1=1,process_2=1
like image 108
matt Avatar answered Sep 28 '22 23:09

matt