Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 40820 Details for
Bug 65739
bug in /etc/init.d/daapd (mDNSResponder isn't started)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
updated init-script with little bug
daapd (text/plain), 1.46 KB, created by
Jonas Bähr
on 2004-09-30 17:40:17 UTC
(
hide
)
Description:
updated init-script with little bug
Filename:
MIME Type:
Creator:
Jonas Bähr
Created:
2004-09-30 17:40:17 UTC
Size:
1.46 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-sound/daapd/files/daapd.init.d,v 1.2 2004/07/14 22:46:52 agriffis Exp $ > >depend() { > need net >} > >checkconfig() { > grep '^Root \.$' /etc/daapd.conf &>/dev/null && \ > ewarn "The Root in /etc/daapd.conf has not been updated. You probably" && \ > ewarn "want to point this to your music archive instead of" `pwd` >} > >start() { > ebegin "Starting mDNSResponder" > start-stop-daemon --start --quiet --pidfile /var/run/mDNSResponder.pid \ > --background --make-pidfile \ > --startas /usr/bin/mDNSResponder ${DAAPD_OPTS} > eend $? "Failed to start mDNSResponder" > > ebegin "Starting daapd" > checkconfig > > local SSD_OPTS > SSD_OPTS="" > [ "${DAAPD_RUNAS}"x != ""x ] && SSD_OPTS="${SSD_OPTS} --chuid '${DAAPD_RUNAS}'" > > start-stop-daemon --start --quiet --pidfile /var/run/daapd.pid \ > --background --make-pidfile \ > ${SSD_OPTS} --startas /usr/bin/daapd ${DAAPD_OPTS} > eend $? "Failed to start daapd" >} > >stop() { > ebegin "Stopping mDNSResponder" > start-stop-daemon --stop --quiet --pidfile /var/run/mDNSResponder.pid > eend $? "Failed to stop mDNSResponder" > > ebegin "Stopping daapd" > start-stop-daemon --stop --quiet --pidfile /var/run/daapd.pid > eend $? "Failed to stop daapd" > > # clean stale pidfiles > [ -f /var/run/mDNSResponder.pid ] && rm -f /var/run/mDNSResponder.pid > [ -f /var/run/daapd.pid ] && rm -f /var/run/daapd.pid >}
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 65739
: 40820