mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-07 22:59:21 +00:00
Updated 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.
|
||||
Use ``CTRL+a`` ``d`` to detach.
|
||||
Reference in New Issue
Block a user