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

(-)rtorrentd.init (-1 / +3 lines)
Lines 8-17 depend() { Link Here
8
}
8
}
9
9
10
start() {
10
start() {
11
	PWHOME="$(getent passwd $USER | awk -F: '{ print $6 }')"
12
11
	ebegin "Starting rtorrent"
13
	ebegin "Starting rtorrent"
12
	start-stop-daemon --start --chuid $USER \
14
	start-stop-daemon --start --chuid $USER \
13
	--env TERM="xterm" \
15
	--env TERM="xterm" \
14
	--env HOME="/home/$USER" \
16
	--env HOME="${PWHOME:-/home/$USER}" \
15
	--exec /usr/bin/screen -- -dmS rtorrentd /usr/bin/rtorrent
17
	--exec /usr/bin/screen -- -dmS rtorrentd /usr/bin/rtorrent
16
	eend $?
18
	eend $?
17
}
19
}

Return to bug 265969