2015-11-11, 23:35
Hi all,
I'm running Kodi on a server in my house to do database management and content scanning, with other nodes then around the house linking to this db.
Problem being that Kodi crashes from time to time, and sometimes my content isnt being scanned or updated.
The server runs Ubuntu 12.04, and I also use the desktop from time to time.
To automatically start Kodi, I have used a user who gets automatically logged in, then a ~/.config/autostart entry that runs start a script which just loops 'while /usr/bin/kodi; do; done' loop.
Problem being that sometimes when it crashes Ubuntu seems to kill my loop script, and I need to log out and log in again to restart it.
So, my question - how do I keep Kodi running, and restarting after crashes, while also using a desktop manager?
Thanks,
Tom
I'm running Kodi on a server in my house to do database management and content scanning, with other nodes then around the house linking to this db.
Problem being that Kodi crashes from time to time, and sometimes my content isnt being scanned or updated.
The server runs Ubuntu 12.04, and I also use the desktop from time to time.
To automatically start Kodi, I have used a user who gets automatically logged in, then a ~/.config/autostart entry that runs start a script which just loops 'while /usr/bin/kodi; do; done' loop.
Problem being that sometimes when it crashes Ubuntu seems to kill my loop script, and I need to log out and log in again to restart it.
So, my question - how do I keep Kodi running, and restarting after crashes, while also using a desktop manager?
Thanks,
Tom