How to change configuration folder location

I want to change to configuration folder location from /etc/openhab/configurations to ~/openhab/configurations
which I want to share. I do not want to use a symlink due to permissions. How to change the location where openhab looks for the configuration ?

I haven’t tried this myself, but it appears from the source code that you can use JVM property openhab.configdir to control the configuration location. In your startup script, you can add something like


Be careful about using ~ since that will expand to the home directory of the openHAB server user.