Open cutlasjgh opened 6 years ago
Looks good to me. Additionally, it sounds to me like you are experienced. Hope you don't mind that I'm not merging your PR, because there is no real maintainer at the moment. If you are interested in maintaining this project, just let me know!
After some path are changed, this has to be adapted.
rm ${QPKG_DISTRIBUTION}/userdata/tmp/instances/instance.properties
Changes to make openHAB restart more reliably. I found under Qnap 4.3.4 there were 2 reasons that openHAB 2.0.0 won't start. First reason would show up in logs as: "Java not found! Please read the documentation about details." Second reason was issues with instance.properties file was both looked for in wrong path, and also not being removed. 3 changes were made:
Attempts to fix #31 #46 #47