Kodi Community Forum

Full Version: irxevent sometimes dies ...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey folks,

I setup lirc including the start/stop/shutdown scripts with irxevent from the Sticky Howto in this forum.
Basically this works fine, but sometimes .... even if I exit XBMC cleanly irxevent seems to die on me and I can't use the mapped buttons in .lircrc to start XBMC for example.
Is there any way to make sure irxevent and irexec keep running or autorestart them if one of em exits?

thanks,

boba
you can use cron to "monitor" irexec and make sure it restarts if it crashed, every minute, with the following crontab line:

sudo crontab -e (to edit root cron configuration)

then add the following line :
here_the_path_to_irexec] 2>&1 > /dev/null

But it's probably better to find out why irexec dies. I know I've heard more people about this problem.