Where to hook in kodi prestart scripts?
|
4th Aug, 2015, 07:52 PM
Post: #1
|
|||
|
|||
Where to hook in kodi prestart scripts?
Hi,
I have been trying to start some scripts, mainly for configuration of logfile location right now (but this will be expanded), BEFORE XBMC/Kodi starts up, without success until now. Apparently the /usr/local/bin/kodistart script is NOT being used for that, so therefore my question: HOW and WHERE can I customize things (like for example a link to the kodi.log on /tmp/) right now? How exactly does the start of the kodi service (there is no script in /etc/init.d) work? Thanks in advance |
|||
5th Aug, 2015, 01:06 AM
(This post was last modified: 5th Aug, 2015 01:21 AM by deHakkelaar.)
Post: #2
|
|||
|
|||
RE: Where to hook in kodi prestart scripts?
Kodi is being started by "upstart":
http://upstart.ubuntu.com/cookbook/#job Have a look in the "/etc/init" folder. I believe "xbmc-preload.conf" is the first kodi bit that starts. But you can still use old school "init.d" scripts or put stuff in "/etc/rc.local" if you like. EDIT: to symlink the kodi logs in the /tmp folder: Terminal ln -s /home/xbian/.kodi/temp/kodi.log /tmp/kodi.log There are only 10 types of people in the world: those who understand binary, and those who don't |
|||
5th Aug, 2015, 04:37 PM
Post: #3
|
|||
|
|||
RE: Where to hook in kodi prestart scripts?
Thanks man! I will take a look...
|
|||
« Next Oldest | Next Newest »
|