I just wrote a tutorial about how this works in OpenaHAB2. This does not execute with sudo but if you need to read how to get sudo working with exec.
I just wrote a tutorial about how this works in OpenaHAB2. This does not execute with sudo but if you need to read how to get sudo working with exec.