Update procedure to restart controller on quarantined condition.
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / akka / osgi / impl / QuarantinedMonitorActorPropsFactory.java
index 31d68d9b6a6dd83cc17ec89fe1568d8ab65b95a7..75872f4ddbf202d3ed5f4d68b22fe523072572f8 100644 (file)
@@ -25,6 +25,7 @@ public final class QuarantinedMonitorActorPropsFactory {
             // restart the entire karaf container
             LOG.warn("Restarting karaf container");
             System.setProperty("karaf.restart.jvm", "true");
+            System.setProperty("karaf.restart", "true");
             bundleContext.getBundle(0).stop();
         });
     }