Server restart#2187
Conversation
|
👍 for admin ice shortcuts, agree with @sbesson that |
|
Agreed. No rush on this PR. More API design. |
|
Label on-hold? |
|
@manics / @sbesson / @kennethgillen / et al: time to come back to this? Suggested names? |
|
My gut feeling would be for another parameter, e.g.
|
|
Agreed, but that would unfortunately be a breaking change. We could however do: |
|
Compared to |
|
That sounds like a motion to close? Seconds? |
|
No one? (The benefit in terms of keys typed would be that |
|
Could we make a semi-breaking change so that |
|
where XXX is |
|
Maybe also add |
The first argument (`[file]`) is now either a service or a file. If a service is found, the *next* argument can be a file. As well: * `--service` takes precendence for service choice * `--file` stakes precedence for file choice * `--target` is appended to other targets
* `bin/omero admin start Processor-0` calls enable * `bin/omero admin stop Processor-0` calls disable and stop * `bin/omero admin restart Processor-0` calls stop
|
@manics, I've pushed an implementation of your suggestion. This may simply be too confusing to be worthwhile. In which case, let's close and move on. 😄 |
The use of `_descript` from other methods was breaking the integration tests since "noise" was being printed. That has now been supressed.
|
Works, though |
|
I'm not sure of the best way forward, short of fixing the "No Processor" |
Perhaps make
How does this apply? |
|
I thought the "No Processor" was the main motivation for wanting this in ASAP #2173 (comment) |
|
Ah, I see. Certainly the most frequent use (at the moment), but not the only reason to use these. Code changes etc. require a restart as well. |
|
Closing for lack of clarity. If anyone cares sufficiently we can re-open. Otherwise, perhaps a replacement launching strategy will make it all simpler anyway. |
Commands for more simply restarting individual server components (services). See discussion under #2173 (comment) for the current state of this branch and @sbesson's opinion.
Current usage:
/cc @manics