Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 462768
Collapse All | Expand All

(-)a/files/minidlna-1.0.25.initd (+7 lines)
Lines 3-8 Link Here
3
# Distributed under the terms of the GNU General Public License v2
3
# Distributed under the terms of the GNU General Public License v2
4
# $Header: /var/cvsroot/gentoo-x86/net-misc/minidlna/files/minidlna-1.0.25.initd,v 1.1 2012/07/20 08:08:33 xmw Exp $
4
# $Header: /var/cvsroot/gentoo-x86/net-misc/minidlna/files/minidlna-1.0.25.initd,v 1.1 2012/07/20 08:08:33 xmw Exp $
5
5
6
extra_started_commands="rescan"
7
6
depend() {
8
depend() {
7
	need net
9
	need net
8
}
10
}
Lines 46-51 start() { Link Here
46
	fi
48
	fi
47
}
49
}
48
50
51
rescan() {
52
        RC_CMD="restart" stop
53
        RC_CMD="restart" RESCAN="true" start
54
}
55
49
stop() {
56
stop() {
50
	ebegin "Stopping MiniDLNA"
57
	ebegin "Stopping MiniDLNA"
51
	start-stop-daemon --stop --quiet --exec /usr/sbin/minidlna
58
	start-stop-daemon --stop --quiet --exec /usr/sbin/minidlna

Return to bug 462768