openhab-docs icon indicating copy to clipboard operation
openhab-docs copied to clipboard

JSR233 Docs references contradictory paths

Open rkoshak opened this issue 6 years ago • 2 comments

Scripts should be placed in the ‘USERDATA/automation/jsr223’ directory. For example, in Linux installations created with a package installer, the directory would be /etc/openhab2/automation/jsr223.

That is the conf folder, not the USERDATA folder. So either the USERDATA needs to be changed to CONF or the path should be changed to /var/lib/openhab2/automation/jsr233.

I do not know which is correct or I'd just make the change myself.

rkoshak avatar Jul 20 '17 21:07 rkoshak

It must be CONF, not USERDATA!

kaikreuzer avatar Jul 21 '17 05:07 kaikreuzer

Actually it should be $OPENHAB_CONF 😃

  • #189
  • https://github.com/openhab/openhab-linuxpkg/blob/master/resources/etc/profile.d/openhab2.sh

Would you please update your PR?

ThomDietrich avatar Jul 22 '17 20:07 ThomDietrich

Should be solved with the many edits placed on the files history.

Confectrician avatar Nov 26 '22 10:11 Confectrician