This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.
Please visit our production wiki at https://wiki.gentoo.org
Talk:Kodi
From Gentoo Wiki (test)
Note
This is a talk page. Please add newer comments below older ones, and sign your comments using four tildes (
This is a talk page. Please add newer comments below older ones, and sign your comments using four tildes (
~~~~
).
When adding a new section (at the bottom of the page), please mark it as "open for discussion" by using {{talk|open}}
so it will show up in the list of open discussions.init script
Talk status
This discussion is done.
While looking for an init script I have been reading through http://wiki.xbmc.org/index.php?title=HOW-TO:Install_XBMC_for_Linux#Add_a_new_init_script and I wonder if it would be better to also use start-stop-daemon instead of calling su and killall.
This is what I'm using at the moment:
start() { ebegin "Starting XBMC" start-stop-daemon --start -u ${XBMC_USER:-xbmc} --background --pidfile /var/run/xbmc.pid --make-pidfile --exec /usr/bin/xinit -- /usr/bin/xbmc-standalone ${XMBC_OPTS} -- :0 eend $? } stop() { ebegin "Stopping XBMC" start-stop-daemon --stop --pidfile /var/run/xbmc.pid eend $? }
— The preceding unsigned comment was added by Smt (talk • contribs)