diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2022-09-16 12:51:44 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2022-10-02 16:41:46 +0200 |
commit | 5e18c781efde5687d7128f92f651807953948168 (patch) | |
tree | 9e8a30fa4d658fd7bd2ee9f99404ae4e50a6680e /net-p2p | |
parent | dev-embedded/platformio: remove unused patch(es) (diff) | |
download | gentoo-5e18c781efde5687d7128f92f651807953948168.tar.gz gentoo-5e18c781efde5687d7128f92f651807953948168.tar.bz2 gentoo-5e18c781efde5687d7128f92f651807953948168.zip |
net-p2p/rtorrent: remove unused files
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Portage 3.0.35 / pkgdev 0.2.1 / pkgcheck 0.10.14
Closes: https://github.com/gentoo/gentoo/pull/27280
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/rtorrent/files/rtorrentd.init | 35 | ||||
-rw-r--r-- | net-p2p/rtorrent/files/rtorrentd_at.service | 15 |
2 files changed, 0 insertions, 50 deletions
diff --git a/net-p2p/rtorrent/files/rtorrentd.init b/net-p2p/rtorrent/files/rtorrentd.init deleted file mode 100644 index 83943cd56611..000000000000 --- a/net-p2p/rtorrent/files/rtorrentd.init +++ /dev/null @@ -1,35 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - use net ypbind nis - after slapd mysqld postgresql -} - -start() { - PWHOME="$(getent passwd $USER | awk -F: '{ print $6 }')" - - ebegin "Starting rtorrent" - env TERM="xterm" \ - start-stop-daemon \ - --start \ - --make-pidfile \ - --pidfile /var/run/rtorrentd.pid \ - --background \ - --user $USER \ - --env HOME="${PWHOME:-/home/$USER}" \ - --name rtorrent \ - --exec /usr/bin/screen -- -D -m -S rtorrentd /usr/bin/rtorrent - eend $? -} - -stop() { - ebegin "Stopping rtorrent" - # Because we've daemonized with screen, we need to replace the PID file with the real PID of rtorrent - pgrep -P $(cat /var/run/rtorrentd.pid) > /var/run/rtorrentd.pid - - start-stop-daemon --stop --signal 15 \ - --pidfile /var/run/rtorrentd.pid - eend $? -} diff --git a/net-p2p/rtorrent/files/rtorrentd_at.service b/net-p2p/rtorrent/files/rtorrentd_at.service deleted file mode 100644 index 991ba930c7f8..000000000000 --- a/net-p2p/rtorrent/files/rtorrentd_at.service +++ /dev/null @@ -1,15 +0,0 @@ -[Unit] -Description=rTorrent -Requires=network.target local-fs.target - -[Service] -Type=forking -RemainAfterExit=yes -KillMode=none -User=%I -ExecStart=/usr/bin/screen -d -m -S rtorrentd /usr/bin/rtorrent -ExecStop=/usr/bin/screen -S rtorrentd -X quit -WorkingDirectory=/home/%I/ - -[Install] -WantedBy=multi-user.target |