I will try the script proposed here openhab2 Startup script raspberry pi version not working - #8 by bernd_boehm