From Gentoo Wiki
(Redirected from Talk:XBMC)
Jump to:navigation Jump to:search
This is a Talk page - please see the documentation about using talk pages. Add newer comments below older ones, sign comments using four tildes (~~~~), and indent successive comments with colons (:). Add new sections at the bottom of the page, under a heading (== ==). Please remember to mark sections as "open for discussion" using {{talk|open}}, so they 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 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:

        ebegin "Starting XBMC"
        start-stop-daemon --start -u ${XBMC_USER:-xbmc} --background --pidfile /var/run/ --make-pidfile --exec /usr/bin/xinit -- /usr/bin/xbmc-standalone ${XMBC_OPTS} -- :0
        eend $?

        ebegin "Stopping XBMC"
        start-stop-daemon --stop --pidfile /var/run/
        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)