Default conf.d file for transmission-daemon makes it ignore config file settings.
There is download-dir setting in /var/lib/transmission-daemon/.config/settings.json. But transmission-daemon resets it to /var/lib/transmission if you start it with init script.
This happens because default /etc/conf.d/transmission-daemon reads:
TD_OPTS=“-f -g /var/lib/transmission/.config -w /var/lib/transmission”
-w key sets download dir, ignoring one set in settings file. More than that, settings file gets updated, so that download-dir option is set to the path specified in /etc/conf.d/transmission-daemon.
I am not sure if this was intended behavior, but it is really very unexpected, and I’ve spend a lot of time trying to figure out why transmission resets download-dir.
(from redmine: issue id 1119, created on 2012-05-01, closed on 2012-05-30)
- Changesets:
- Revision 52268079 by Natanael Copa on 2012-05-21T09:33:30Z:
main/transmission: upgrade to 2.52 and sync init.d script
Copy init.d script from gentoo.
fixes #1119
- Revision dca0d8f7 by Natanael Copa on 2012-05-22T09:41:38Z:
main/transmission: move transmission homedir to /var/lib
fixes #1119
- Revision d660cc97 by Natanael Copa on 2012-05-25T12:21:03Z:
main/transmission: upgrade to 2.52 and sync init.d script
Copy init.d script from gentoo.
fixes #1119
- Revision 66f48048 by Natanael Copa on 2012-05-25T12:21:04Z:
main/transmission: move transmission homedir to /var/lib
fixes #1119