Your message dated Mon, 7 May 2012 22:39:57 +0200
with message-id <[email protected]>
and subject line Re: Bug#647140: rtorrent: Please provide a way to load a
config file from different locations
has caused the Debian Bug report #647140,
regarding rtorrent: Please provide a way to load a config file from different
locations
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
647140: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=647140
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rtorrent
Version: 0.8.9-2
Severity: wishlist
By default, rtorrent either loads its configuration file from
~/.rtorrent.rc, or doesn't load it at all in the presence of the -n
switch.
I tend to have more than one rtorrent instance running for the same
user, all of which might need different configuration
options. Specifying all options for one instance using -o and -O tends
to be complicated, especially with big-ish configurations.
I'd love having a way to have multiple separate configuration files I
can use for the individual rtorrent instances, be it through a
command-line switch that allows specifying a config file path, or a
config key that causes a config file to be loaded from a path specified
as its value.
$ rtorrent -c ~/.rtorrent.rc.foo
$ rtorrent -o load_config=~/.rtorrent.rc.foo
Many thanks for considering.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.1.0-rc7 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages rtorrent depends on:
ii libc6 2.13-21
ii libcurl3 7.21.7-3
ii libgcc1 1:4.6.2-2
ii libncursesw5 5.9-2
ii libsigc++-2.0-0c2a 2.2.9-1
ii libstdc++6 4.6.2-2
ii libtinfo5 5.9-2
ii libtorrent14 0.12.9-3
ii libxmlrpc-core-c3 1.16.33-3.1
rtorrent recommends no packages.
Versions of packages rtorrent suggests:
ii screen 4.0.3-14
-- no debconf information
--- End Message ---
--- Begin Message ---
Florian Ragwitz wrote:
> Benoît Knecht <[email protected]> writes:
>
> > I think what you're suggesting exists already. The config key is
> > 'import' or 'try_import' (the former failing on invalid input, while
> > the latter doesn't). If you don't want the default configuration file
> > to be read, you need to use '-n' too, otherwise rtorrent will read
> > both:
> >
> > $ rtorrent -n -o import=~/.rtorrent.rc.foo
> >
> > Can you try it and see if it really does what you think it should?
>
> It's just what I wanted. Thanks very much for pointing it out.
>
> My apologies for missing this in the documentation.
Since there is a way to do what was initially requested, I'm closing
this bug now.
Cheers,
--
Benoît Knecht
--- End Message ---