openhab / openhab-linuxpkg

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

start.sh fails on (at least) debian packages if called directly #125

Closed mstormi closed 4 years ago

mstormi commented 5 years ago

See https://community.openhab.org/t/oh2-3-fails-to-start/52064/3

As that's not documented (or as it may be but people didn't read it, at least I couldn't find it), I believe we can avoid a number of people to run into trouble if we check the startup/user environment we're in before proceeding.

According to @BClark09: This happens because the environment variables that specify where each folder is aren't set yet. We can override/replace these scripts in the package to correct this.

mstormi commented 5 years ago

Moved to https://github.com/openhab/openhab-distro/issues/772