supervisor-wildcards
supervisor-wildcards copied to clipboard
Possible to override `stop`, `start` & `restart` commands instead of using `mstop` etc.?
Is it possible to override the default commands with the wildcard behaviors? If so, would there be a downside?
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?
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).