What is the command for restart by console?

what is the commend for restart openhab by console?
thanks

shell console ?
sudo systemctl restart openhab2.service

I assumed they meant within the karaf console that is, within openhab-cli console.

I run openhab on windows 10 and i control the console With putty ssh from Another computer

https://svn.apache.org/repos/asf/karaf/site/production/manual/latest/start-stop.html

thanks, this is the correct command I was looking for:

system:shutdown -r

1 Like

The it was a Linux question unrelated to OpenHAB or the topic of this forum.

Actually it was a Karaf console question which is related to openHAB insofar that this is one way to restart openHAB.

1 Like

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.