Closed hongkongkiwi closed 2 years ago
Or maybe.... a better way might be to show nothing if passing a name when there are more than 1 id specified.
This was actually part of the 3.x series, it must've gotten lost in the big refactor. We'll look into restoring the functionality in a later release cycle.
If I have three services e.g.
Then I do
initctl status myservice
it displays mysesrvice:a because it apperas first in the config. My suggestion is that it should show all status's for all subservices. Then if I want to drill down I could useinitctl status myservice:b
.As an addon to this, can I also suggest a command that given a service name e.g. myservice, it returns all ids associated with it.... e.g.
initctl ids myservice
and it would return: