By the way, you can also restart bundle 0 (which is the framework ;)).
Take a look on system:reboot command, it does:
if (force) {
if (reboot) {
systemService.reboot(time, determineSwipeType());
} else {
systemService.halt(time);
}
return null;
}
So just use the SystemService.
Regards
JB
On 11/23/2015 03:52 PM, Benson Margulies wrote:
Is there a service in Karaf that completely restarts it?
-- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
