From e949b759d8370fb45bea2c81afbc6c0cedcce592 Mon Sep 17 00:00:00 2001 From: sebastia Date: Thu, 7 May 2026 12:05:54 +0000 Subject: [PATCH] Use TRUEPREFIX instead of PREFIX in the rc script, to enable the service to start up. Nice catch: Chaz Kelleson (MAINTAINER) OK sthen@ --- misc/openhab/4/Makefile | 2 +- misc/openhab/5/Makefile | 2 +- misc/openhab/pkg/openhab.rc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/misc/openhab/4/Makefile b/misc/openhab/4/Makefile index f3667b356b7..97e81fdd066 100644 --- a/misc/openhab/4/Makefile +++ b/misc/openhab/4/Makefile @@ -1,5 +1,5 @@ OH_VERSION= 4.3.9 MODJAVA_VER= 17 -REVISION= 0 +REVISION= 1 .include diff --git a/misc/openhab/5/Makefile b/misc/openhab/5/Makefile index 692e82f0513..cf542abceee 100644 --- a/misc/openhab/5/Makefile +++ b/misc/openhab/5/Makefile @@ -1,5 +1,5 @@ OH_VERSION= 5.1.3 MODJAVA_VER= 21 -REVISION= 0 +REVISION= 1 .include diff --git a/misc/openhab/pkg/openhab.rc b/misc/openhab/pkg/openhab.rc index 36bedc3dab3..ccde0663126 100644 --- a/misc/openhab/pkg/openhab.rc +++ b/misc/openhab/pkg/openhab.rc @@ -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_PORT}" ]; then OPENHAB_HTTP_PORT=8080; 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_RUNTIME}" ]; then OPENHAB_RUNTIME="${OPENHAB_HOME}/runtime"; fi if [ -z "${OPENHAB_USERDATA}" ]; then OPENHAB_USERDATA="/var/db/openhab"; fi