benoitc / gaffer

control, watch and launch your applications and jobs over HTTP.
Other
367 stars 34 forks source link

Loading a Procfile without launching it #56

Closed steelstyle closed 9 years ago

steelstyle commented 9 years ago

Give the ability to start just some or no process when loading a Procfile. I started a simple solution here : https://github.com/steelstyle/gaffer/tree/nostart_jobs

It's helpful when some process are mean to be one-off process.

benoitc commented 9 years ago

Good idea :) Can you open a PR for it? I also commented the code.

steelstyle commented 9 years ago

Yes of course, but I keep hesitating between ;

Start all processes except the one named worker: $ foreman start -c all=1,worker=0

benoitc commented 9 years ago

fixed in master.