supervisor-wildcards icon indicating copy to clipboard operation
supervisor-wildcards copied to clipboard

Possible to override `stop`, `start` & `restart` commands instead of using `mstop` etc.?

Open wodow opened this issue 11 years ago • 2 comments

Is it possible to override the default commands with the wildcard behaviors? If so, would there be a downside?

wodow avatar Nov 04 '13 17:11 wodow

Hey,

from what I can see in the implementation, it should be possible. Haven't tested that yet.

It seemed cleaner to add extra command names, rather then overriding the buildins. At the moment. the implementation is calling the builds under the hood, rather then copying it's code and trying to figure out how to proprely call the API to do the job.

You feel it would be useful?

aleszoulek avatar Dec 13 '13 23:12 aleszoulek

I would find it easier to not have to remember new commands.

In this case, almost all process managers use "stop", "start" and "restart" - and I'm jumping between a few of them daily (different OS, different boxes).

wodow avatar Dec 18 '13 15:12 wodow