Closed mstormi closed 3 years ago
/var/lib/openhab/etc/org.apache.karaf.shell.cfg
is listed as a system file in: userdata_sysfiles.lst which is used as a basis for what is and what is not a configuration file within $OPENHAB_USERDATA
.
Can the these settings be configured in $OPENHAB_CONF/services/runtime.cfg
e.g:
org.apache.karaf.shell:sshHost = <ip>
This would be the most appropriate place to put user written configuration.
Yes Karaf seems to copy any change made in runtime.cfg over to org.apache.karaf.shell.cfg
Changed openHABian to use runtime.cfg now.
A package upgrade/install should not overwrite /var/lib/openhab/etc/
org.apache.karaf.shell.cfg
but keep any existing else users have to modify it every time e.g. for the IP addresses the console listens on (only localhost by default - worth a thought to make that "all", too, given that key based auth is available).