@asbachb I implemented this by adding the variables to /etc/default/openhab4. This reflects the external environment variable sourcing included in the upstream backup and restore scripts, although they were using the version agnostic filename (ie no major version suffix) and the revised patch file corrects this.
To use the change, remove /etc/default/openhab4 and install release 4.0.3-2. It should work out of the box, but please let me know if there are issues.
Pinned Comments
benalexau commented on 2023-08-14 04:33 (UTC)
Arch Linux AUR
openhab3toopenhab4major upgrade instructions are available in this GitHub Gist.