Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 391520 Details for
Bug 439656
media-tv/mythtv mythbackend init script should drop need net
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
mythbackend.init
mythbackend (text/plain), 1.38 KB, created by
Matthew Schultz
on 2014-12-12 20:10:23 UTC
(
hide
)
Description:
mythbackend.init
Filename:
MIME Type:
Creator:
Matthew Schultz
Created:
2014-12-12 20:10:23 UTC
Size:
1.38 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2014 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >description="MythTV backend recording daemon" >extra_commands="resched upnprebuild" >description_resched="Forces the recording scheduler to update" >description_upnprebuild="Rebuilds the UPnP media cache" > >depend() { > # mythbackend doesn't need to run on the same machine that > # mysql runs on. so its use for that reason > use mysql LCDd >} > >start() { > [ -z "${MYTHBACKEND_VERBOSE}" ] && \ > MYTHBACKEND_VERBOSE="general" > > #fixes for bug #101308 > unset DISPLAY > unset SESSION_MANAGER > > # Work around any strange permissions that may be on these files. > chown -R mythtv:video /var/log/mythtv/ > chown -R mythtv:video /home/mythtv/ > > ebegin "Starting MythTV Backend" > start-stop-daemon --start --quiet --exec /usr/bin/mythbackend \ > --pidfile /var/run/mythbackend.pid -- \ > --daemon --pidfile /var/run/mythbackend.pid --user mythtv \ > --verbose ${MYTHBACKEND_VERBOSE} \ > --logpath /var/log/mythtv/ \ > ${MYTHBACKEND_OPTS} > eend $? >} > >stop() { > ebegin "Stopping MythTV Backend" > start-stop-daemon --stop --quiet --pidfile=/var/run/mythbackend.pid > eend $? >} > >resched() { > ebegin "Updating the recording scheduler" > /usr/bin/mythbackend --resched > eend $? >} > >upnprebuild() { > ebegin "Rebuilding UPnP media cache" > /usr/bin/mythbackend --upnprebuild > 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 439656
: 391520