Kodi Community Forum
Solved [BOBLIGHTD] startup issues - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Solved [BOBLIGHTD] startup issues (/showthread.php?tid=230824)



[BOBLIGHTD] startup issues - koajx89 - 2015-06-29

Hi Members,

System:
Kodibunto
2:14.0~git20141223.1015-final-0trusty


Symtoms:
When my kodi starts up Boblightd deamon does not start up automaticly


Workaround:
SSH to kodi and type the following command
Code:
boblightd
This is not a good solution for me since i want it to start on system startup


Tried:
I have tired different things wich did not work for me,
I searched this forum and could not find anything about it.
i also search on the interwebs, and could only find this one, wich was not working either

Boblight start up instruktions

I suspect this to be the cause why its not working i think the different places are not the correct onces and therefore its not working for me!:

Code:
PATH=/usr/local/bin:/bin:/usr/bin
NAME=boblightd
DAEMON=/usr/bin/$NAME
PIDFILE=/var/run/$NAME.pid
DESC="boblight daemon"
USER=boblightd

If someone could tell me how i could get my boblightd to run at start up, then i would be happy :-)


RE: [BOBLIGHTD] startup issues - Memphiz - 2015-06-30

is there an /etc/rc.local file? If so just add "boblightd &" in there (don't forget the &) and it should start on each boot.


RE: [BOBLIGHTD] startup issues - usifwhipps43 - 2015-06-30

Also having similiar problem

bmw service


RE: [BOBLIGHTD] startup issues - koajx89 - 2015-06-30

Ok i changed the values but there is still no luck

Code:
/etc/rc.local
Quote:#!/bin/sh
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

boblightd &

exit 0

I ran this in my rc.local to see if it was working proberly
Code:
echo "rc.local executed successfully" > /tmp/rclocal_executed

and the /tmp/rclocal_executed was there so i think the rc.local is runnig as it should


RE: [BOBLIGHTD] startup issues - Memphiz - 2015-06-30

Code:
which boblightd

and then put the whole path into there like

/usr/sbin/boblightd &

(or whatever the first command reveals as path of it). Also you might need to pass the boblight.conf file as argument


RE: [BOBLIGHTD] startup issues - koajx89 - 2015-06-30

Ok I added the following in the /etc/rc.local

Code:
/usr/local/bin/boblightd -f

After a restart it was working like a charm :-)

I think i would make a Guide/Writeup on how to install boblight, and get some of the basic configure to help simplify it.

anyways thank you for your help Memphiz