Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 65743 Details for
Bug 101308
mythtv: KDE session managemant attempts to restart mythbackend
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Modified /etc/init.d/mythbackend
mythbackend (text/plain), 1.61 KB, created by
Aidan Thornton
on 2005-08-12 03:10:09 UTC
(
hide
)
Description:
Modified /etc/init.d/mythbackend
Filename:
MIME Type:
Creator:
Aidan Thornton
Created:
2005-08-12 03:10:09 UTC
Size:
1.61 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/files/0.18-mythbackend.rc,v 1.3 2005/05/22 22:43:19 cardoe Exp $ > >depend() { > need net > use mysql >} > >checkconfig() { > if [ ${MYTH_USER} != "root" ]; then > for i in $(groups "${MYTH_USER/:*/}") ; do > [[ "${i}" == "audio" ]] && audio="yes" > [[ "${i}" == "video" ]] && video="yes" > done > > if [ -z "${audio}" -o -z "${video}" ] ; then > ewarn "" > [[ -z "${audio}" ]] && \ > ewarn "${HILITE}${MYTH_USER/:*/}${NORMAL} is not in the audio group" > [[ -z "${video}" ]] && \ > ewarn "${HILITE}${MYTH_USER/:*/}${NORMAL} is not in the video group" > ewarn "" > ewarn "insufficient permissions discovered" > ewarn "mythbackend may not start correctly" > ewarn "" > fi > fi >} > >start() { > [[ -z "${MYTH_USER}" ]] && MYTH_USER="nobody" > [[ -z "${MYTH_NICE}" ]] && MYTH_NICE="0" > [[ -z "${MYTH_VERBOSE}" ]] && MYTH_VERBOSE="none" > checkconfig > > HOME="/var/log/mythtv/" > QTDIR=/usr/qt/3 > unset DISPLAY > unset SESSION_MANAGER > > # Work around any strange permissions that may be on these files. > chown -R "${MYTH_USER}" /var/log/mythtv/ > > ebegin "Starting MythTV Backend" > start-stop-daemon --start --quiet --chuid "${MYTH_USER}" \ > --exec /usr/bin/mythbackend --nicelevel "${MYTH_NICE}" \ > --make-pidfile --pidfile /var/run/mythbackend.pid \ > --background -- --verbose ${MYTH_VERBOSE} \ > --logfile /var/log/mythtv/mythbackend.log > eend $? >} > >stop () { > ebegin "Stopping MythTV Backend" > start-stop-daemon --stop --quiet --pidfile=/var/run/mythbackend.pid > eend $? >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 101308
: 65743