From 9607b0d32668aa74f39b0595068166ec609edfbe Mon Sep 17 00:00:00 2001 From: kannibalox Date: Sat, 2 Dec 2023 14:26:48 -0500 Subject: [PATCH] Updated Common Tasks in rTorrent (rest) --- Common-Tasks-in-rTorrent.rest | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/Common-Tasks-in-rTorrent.rest b/Common-Tasks-in-rTorrent.rest index 5b2a76f..ef65ba4 100644 --- a/Common-Tasks-in-rTorrent.rest +++ b/Common-Tasks-in-rTorrent.rest @@ -421,7 +421,7 @@ Ubuntu 16.04 (with systemd) Older systems will use the service command with screen to utilise a startup file, typically located in (or symlinked to) /etc/init.d/ however the new systemctl command requires a different format. -Make sure you have tmux installed (tmux instead of screen): +Make sure you have tmux installed: .. code-block:: shell @@ -451,7 +451,23 @@ After that, you will need to then enable and start the service: $ sudo systemctl enable rtorrent.service $ sudo systemctl start rtorrent.service -You could also directly attach rtorrent to a tty using this service file instead: +You can then attach to the tmux session with: + +.. code-block::shell + + $ /usr/bin/tmux a -t rtorrent + +Use ``CTRL+b`` ``d`` to detach. + +You could also directly attach rtorrent to a tty using screen instead. + +Make sure you have screen and socat installed: + +.. code-block:: shell + + $ sudo apt-get update; sudo apt-get install screen socat + +Use this service file: .. code-block:: ini @@ -474,4 +490,4 @@ You can attach screen to this pty using: screen /run/rtorrent/tty -Use CTRL + a d to detach. \ No newline at end of file +Use ``CTRL+a`` ``d`` to detach. \ No newline at end of file