diff options
author | Jamie Getty <jamiegetty1@gmail.com> | 2022-01-04 19:59:50 +1300 |
---|---|---|
committer | Jason Zaman <perfinion@gentoo.org> | 2022-02-26 12:01:36 -0800 |
commit | 17ba1a9e252fd2fc081ba4a0cd1d3c1aae726a5f (patch) | |
tree | 62c668a1299f08850f30d76c09744274d9b56675 /net-p2p/rtorrent/files/rtorrent-r1.init | |
parent | sys-apps/flatpak: Bump to version 1.12.6 (diff) | |
download | gentoo-17ba1a9e252fd2fc081ba4a0cd1d3c1aae726a5f.tar.gz gentoo-17ba1a9e252fd2fc081ba4a0cd1d3c1aae726a5f.tar.bz2 gentoo-17ba1a9e252fd2fc081ba4a0cd1d3c1aae726a5f.zip |
net-p2p/rtorrent: Remove dependency on screen for daemonising.
Also update to EAPI8. econf now automatically passes --with-sysroot=
which sets the macos-only -syslibroot so needs to be --sysroot on linux.
Closes: https://github.com/gentoo/gentoo/pull/23645
Signed-off-by: Jamie Getty <jamiegetty1@gmail.com>
Signed-off-by: Jason Zaman <perfinion@gentoo.org>
Diffstat (limited to 'net-p2p/rtorrent/files/rtorrent-r1.init')
-rw-r--r-- | net-p2p/rtorrent/files/rtorrent-r1.init | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/net-p2p/rtorrent/files/rtorrent-r1.init b/net-p2p/rtorrent/files/rtorrent-r1.init new file mode 100644 index 000000000000..e16f262bfbe3 --- /dev/null +++ b/net-p2p/rtorrent/files/rtorrent-r1.init @@ -0,0 +1,16 @@ +#!/sbin/openrc-run +# Distributed under the terms of the GNU General Public License v2 + +description="rTorrent BitTorrent client" + +command="/usr/bin/rtorrent" +command_args="-o system.daemon.set=true" +command_background=true +command_user="${USER}" +pidfile="/run/rtorrent.pid" + +depend() +{ + use net ypbind nis + after slapd mysqld postgresql +} |