Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to disable a particular process with honcho start #184

Open
ptbrowne opened this issue Aug 18, 2016 · 0 comments
Open

Allow to disable a particular process with honcho start #184

ptbrowne opened this issue Aug 18, 2016 · 0 comments

Comments

@ptbrowne
Copy link

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 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant