nickstenning / honcho

Honcho: a python clone of Foreman. For managing Procfile-based applications.

Home Page:http://pypi.python.org/pypi/honcho

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why isn't there "stop" command?

naddika opened this issue · comments

There're "run" and "start". Why isn't there "stop"? How should one stop the processes then?

Honcho runs in the foreground. The processes stop when you stop or kill honcho (with Ctrl-C, for example). Conversely, honcho stops when the processes stop.

My goal is to run and stop the processes in a Procfile all at once. Therefore, to stop the process will I have to kill the Honcho process only?

Try it! If you Ctrl-C honcho, it will kill all the processes running under it.

Yeah, a bash script, apparently, has human hands and eyes, and can understand my commands given him by voice, to press Ctrl-C.

Regarding killing Honcho process - that would be a lot of hassle because I'd have to find a Honcho process first, and reliably so, distinguishing it among all other processes, via a bash script. How? Why isn't there functionality for killing a Honcho process implemented in the library itself?

And how about equering its status -- running, not running.... ?