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

Process names matching #2

Open
marcinn opened this issue Apr 9, 2014 · 2 comments
Open

Process names matching #2

marcinn opened this issue Apr 9, 2014 · 2 comments

Comments

@marcinn
Copy link

marcinn commented Apr 9, 2014

When using original (re)start/stop commands I can provide only process name as an argument (if process is not a group). quick* commands are incompatible in that case (ok, they don't need to be, but it would be usueful), but they do nothing when pattern does not match any process (I'm expecting an error):

supervisor> start abc
abc: ERROR (no such process)
supervisor> quickstart abc
supervisor> quickstart abc:
supervisor> 

("no such process" error expected)

And an example of exisiting process:

supervisor> start server
server: started
supervisor> quickstop server
supervisor>
supervisor> status server
server                           RUNNING    pid 8592, uptime 0:00:47

(STOPPED state expected)

Tested with Python 2.6.6 and 2.7.6.

@lxyu
Copy link
Owner

lxyu commented Apr 9, 2014

This is because supervisor-quick treat all things as process group currently.

I do plan to add support to single process and add a quickstatus for process group, you may expect it in the near future. Maybe this week or next.

Thanks for the report.

@tonyo
Copy link

tonyo commented Mar 17, 2015

It's been a while since the last message, but it would be really nice to see the above mentioned features implemented.
Are there any updates?

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

3 participants