How to restart OpenHAB on QNAP?

How can I reatart OpenHAB on QNAP? I was previously given the SSH instructions (below) which worked, but what is the command to restart?

ssh openhab@localhost -p 8101 (password is habopen)

Trying to restart OpenHAB with the script below but it asks for a password which habopen doesn’t work?

sudo systemctl start openhab2.service

The command for restarting is

sudo systemctl restart openhab2.service

Sudo is then asking for root priviliges so you need your QNAP user password.
This is not a openHAB issue.

Please get familiar with your QNAP and shell commands.

1 Like