Talk:Kodi

From Gentoo Wiki
Jump to:navigation Jump to:search
Note
Before creating a discussion or leaving a comment, please read about using talk pages. To create a new discussion, click here. Comments on an existing discussion should be signed using ~~~~:
== Discussion title ==

{{Talk|date = 2024-05-13}}

A comment [[User:Larry|Larry]] 13:52, 13 May 2024 (UTC)
: A reply [[User:Sally|Sally]] 03:41, 29 May 2024 (UTC)
:: Your reply ~~~~

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 (talkcontribs)

This seems to have been changed in a previous edit. --Grknight (talk) 14:53, 8 November 2018 (UTC)