openhab / openhab-linuxpkg

Repo for Linux packages
Eclipse Public License 2.0
18 stars 33 forks source link

sysVinit Upgrade from RC1 - Requires reboot of OS #25

Closed theoweiss closed 7 years ago

theoweiss commented 7 years ago

This issue is related to the tests for this PR #24 . An upgrade of sysVinit systems from RC1 to 2.0.0 requires a reboot of the OS.

First of all I think you don't have to reboot, but have to kill the running openHAB server with kill -9 $OHPID.

I've made some tests with debian 7 and I think the upgrade is not working because the openHAB server from the previous installation is not reliable stopped. I think it is a bug of karaf because calling /usr/share/openhab2/runtime/bin/stop returns with exit code 0 but the process is still running and needs some extra time stop.

I'm preparing a PR with a workaround.