BUG-8143: issue a JVM restart
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / config / yang / config / actor_system_provider / impl / ActorSystemProviderImpl.java
index 95c37f56ad66f51023a581f704999fd89d240a80..5b6e447d0b09e165e66178bb596bf6d813bf5d7d 100644 (file)
@@ -56,10 +56,9 @@ public class ActorSystemProviderImpl implements ActorSystemProvider, AutoCloseab
         actorSystem.actorOf(QuarantinedMonitorActor.props(() -> {
             // restart the entire karaf container
             LOG.warn("Restarting karaf container");
-            System.setProperty("karaf.restart", "true");
+            System.setProperty("karaf.restart.jvm", "true");
             bundleContext.getBundle(0).stop();
         }), QuarantinedMonitorActor.ADDRESS);
-
     }
 
     @Override