Skip to main content

start stop openhab2

# initialize the new service (execute only once)
sudo systemctl daemon-reload
sudo systemctl enable openhab2.service

#start,stop and retrieve status
sudo systemctl start openhab2.service
sudo systemctl stop openhab2.service
sudo systemctl status openhab2.service