Gracefully shut down OH2 on a windows machine?

Anyone got any tips on how to gracefully shut down OH2 on a windows machine from the command prompt?

Login into karaf console and use system:shutdown ?

You should also be able to run the runtime/bin/stop.bat file.

1 Like

I simply type LOGOUT in the Karaf console.

Thanks @Benjy will give that a try…

There is a way to run log off scripts at shutdown. You could put stop.bat as a log off script.

Have a google search for windows log off or windows shutdown script.

I have not read but here is one https://technet.microsoft.com/en-us/library/dd630947.aspx