systemctl restart kodi
I run that from a shortcut on my phone using ssh button (android app).
Well, this is again via ssh only.
If you want it in the kodi exit menu take a look at DialogButtonMenu.xml for the skin you use.
Hmm, I tried it with various skins, so I assume it is disabled on some lower level...
Or add via favourites to work in any skin. You'll need (I think) to write a simple script to execute the command, and link to that script.
Sounds more like a hackish workaround
I really love how OSMC is doing this: It allows to just quit kodi (like on a desktop) and then it will be restarted.
Of course I do not know if the systemd files on libreELEC are suitable for this. And I'm mainly curious. After all, fully rebooting the box only takes some more seconds, so this is not really a high priority issue. I just would like to know how this is done
Peace, love and chocolate. LOTS of chocolate!