# Restart Kodi without Reboot

**URL:** https://community.yatse.tv/t/restart-kodi-without-reboot/4273
**Category:** Solved
**Created:** [March 10, 2023, 6:32pm UTC](https://community.yatse.tv/t/restart-kodi-without-reboot/4273 "2023-03-10T18:32:30Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![anon93630217](https://community.yatse.tv/letter_avatar_proxy/v4/letter/a/aca169/32.png) [@anon93630217](https://community.yatse.tv/u/anon93630217)
#### Post date: [March 11, 2023, 7:46am UTC](https://community.yatse.tv/t/restart-kodi-without-reboot/4273/5 "2023-03-11T07:46:29Z")

</div>

Interesting that you can remember me. But yes this hearty interaction is always the same \<3 …

As already mentioned, they just call it via sh (“systemctl restart kodi”) and I asked here how I can fire this via Yatse… (I would not have asked, if I had found something in the documentation)

Your answer like “read the documentation” was not helpful, but well, I found a solution by myself.

If someone is also interested in this, just create an empty addon and add following line in the default.py:

```auto
import os
os.system('systemctl restart kodi')

```

Via Yatse I used the custom commands with Addons.ExecuteAddon.  
If someone is interested in more details, I can put them here as well if needed.

Thanks…

@Tolriq if you have an easier way (e.g. how to call that sh via Yatse, like the original question), I would appreciate if you can share…

---

_[View the full topic](https://community.yatse.tv/t/restart-kodi-without-reboot/4273)._
