SSL Wizard: Stop and restart Jetty if running

Make JettyStart restartable
RouterAppManager workaround for JettyStart becoming untracked after stop
This commit is contained in:
zzz
2018-05-03 19:29:13 +00:00
parent 9a7b58259f
commit b31ebfe368
3 changed files with 78 additions and 2 deletions

View File

@@ -113,7 +113,7 @@ public class JettyStart implements ClientApp {
}
public synchronized void startup() {
if (_state != INITIALIZED)
if (_state != INITIALIZED && _state != STOPPED && _state != START_FAILED)
return;
if (_jettys.isEmpty()) {
changeState(START_FAILED);