Use TRUEPREFIX instead of PREFIX in the rc script, to enable the

service to start up.

Nice catch: Chaz Kelleson (MAINTAINER)
OK sthen@
This commit is contained in:
sebastia
2026-05-07 12:05:54 +00:00
parent fc18b03b1b
commit e949b759d8
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
OH_VERSION= 4.3.9 OH_VERSION= 4.3.9
MODJAVA_VER= 17 MODJAVA_VER= 17
REVISION= 0 REVISION= 1
.include <bsd.port.mk> .include <bsd.port.mk>
+1 -1
View File
@@ -1,5 +1,5 @@
OH_VERSION= 5.1.3 OH_VERSION= 5.1.3
MODJAVA_VER= 21 MODJAVA_VER= 21
REVISION= 0 REVISION= 1
.include <bsd.port.mk> .include <bsd.port.mk>
+1 -1
View File
@@ -13,7 +13,7 @@ if [ -z "${EXTRA_JAVA_OPTS}" ]; then EXTRA_JAVA_OPTS="-Dsun.nio.fs.watchservice
if [ -z "${OPENHAB_HTTP_ADDRESS}" ]; then OPENHAB_HTTP_ADDRESS="127.0.0.1"; fi if [ -z "${OPENHAB_HTTP_ADDRESS}" ]; then OPENHAB_HTTP_ADDRESS="127.0.0.1"; fi
if [ -z "${OPENHAB_HTTP_PORT}" ]; then OPENHAB_HTTP_PORT=8080; fi if [ -z "${OPENHAB_HTTP_PORT}" ]; then OPENHAB_HTTP_PORT=8080; fi
if [ -z "${OPENHAB_HTTPS_PORT}" ]; then OPENHAB_HTTPS_PORT=8443; fi if [ -z "${OPENHAB_HTTPS_PORT}" ]; then OPENHAB_HTTPS_PORT=8443; fi
if [ -z "${OPENHAB_HOME}" ]; then OPENHAB_HOME="${PREFIX}/libexec/openhab"; fi if [ -z "${OPENHAB_HOME}" ]; then OPENHAB_HOME="${TRUEPREFIX}/libexec/openhab"; fi
if [ -z "${OPENHAB_CONF}" ]; then OPENHAB_CONF="${SYSCONFDIR}/openhab"; fi if [ -z "${OPENHAB_CONF}" ]; then OPENHAB_CONF="${SYSCONFDIR}/openhab"; fi
if [ -z "${OPENHAB_RUNTIME}" ]; then OPENHAB_RUNTIME="${OPENHAB_HOME}/runtime"; fi if [ -z "${OPENHAB_RUNTIME}" ]; then OPENHAB_RUNTIME="${OPENHAB_HOME}/runtime"; fi
if [ -z "${OPENHAB_USERDATA}" ]; then OPENHAB_USERDATA="/var/db/openhab"; fi if [ -z "${OPENHAB_USERDATA}" ]; then OPENHAB_USERDATA="/var/db/openhab"; fi