Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 256026 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/net-p2p/rtorrent/files/rtorrentd.init (-4 / +3 lines)
Lines 15-27 Link Here
15
	env TERM="xterm" \
15
	env TERM="xterm" \
16
		start-stop-daemon \
16
		start-stop-daemon \
17
			--start \
17
			--start \
18
			--make-pidfile \
19
			--pidfile /var/run/rtorrentd.pid \
18
			--pidfile /var/run/rtorrentd.pid \
20
			--background \
21
			--user $USER \
19
			--user $USER \
22
			--env HOME="${PWHOME:-/home/$USER}" \
20
			--env HOME="${PWHOME:-/home/$USER}" \
23
			--name rtorrent \
21
			--exec /usr/bin/dtach -- -n /tmp/rtorrentd.dtach /usr/bin/rtorrent
24
			--exec /usr/bin/screen -- -D -m -S rtorrentd /usr/bin/rtorrent
22
23
	pgrep --newest --uid $USER --exact rtorrent >/var/run/rtorrentd.pid
25
	eend $?
24
	eend $?
26
}
25
}
27
26

Return to bug 256026