Skip to content

Commit c1872a2

Browse files
committed
docs: mention PYRO_CONFIG_DIR in 'Working With Several rTorrent Instances'
1 parent 4650c00 commit c1872a2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/howto.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,16 +127,17 @@ Working With Several rTorrent Instances
127127
Switching to the 'rtorrent.rc' of an Instance
128128
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
129129

130-
Both ``rtcontrol`` and ``rtxmlrpc`` read the existing rTorrent configuration
130+
Both :command:`rtcontrol` and :command:`rtxmlrpc` read the existing rTorrent configuration
131131
to extract some settings, so that you don't need to maintain them twice – most
132-
importantly the details of the XMLRPC connection. That is why ``config.ini``
132+
importantly the details of the XMLRPC connection. That is why :file:`config.ini`
133133
has the ``rtorrent_rc`` setting, and changing that is the key to select
134134
a different instance you have running.
135135

136136
Just pass the option ``-D rtorrent_rc=PATH_TO/rtorrent.rc`` to either
137-
``rtcontrol`` or ``rtxmlrpc``, to read the configuration of another instance
137+
:command:`rtcontrol` or :command:`rtxmlrpc`, to read the configuration of another instance
138138
than the default one. For convenient use on the command line, you can add
139-
shell aliases to you profile.
139+
shell aliases to you profile, or globally change the default for the current shell
140+
by setting the :envvar:`PYRO_CONFIG_DIR` environment variable.
140141

141142
Alternatively, you can also set the ``scgi_url`` value directly, like in this example:
142143

0 commit comments

Comments
 (0)