Allow to disable a particular process with honcho start
ptbrowne opened this issue · comments
Patrick Browne commented
Say I have a Procfile like :
web: ./webserver
postgres: postgres -D /usr/local/var/postgres
celery: celery
redis: redis-server
mongo: mongod
Sometimes I want to work on my webserver so I exclude it from my Procfile by commenting the line so that I can launch it manually and restart it without restarting every services.
What is annoying is that my Procfile is checked in git so I have to remember not to commit the comment.
My solution for now is to use :
honcho start web postgres celery redis mongo
as my base command line and when I want to disable web
, I can just remove it from there. I am pretty fine with it but I think it would be better if I could do:
honcho start --exclude web
or something like that. What do you think ?
Thanks !