Opened 12 years ago

Closed 12 years ago

#4217 closed Bug (worksforme)

TRANSMISSION_HOME ignored during start up

Reported by: nickh Owned by:
Priority: Normal Milestone: None Set
Component: Transmission Version: 2.22
Severity: Normal Keywords: TRANSMISSION_HOME
Cc:

Description

If you set TRANSMISSION_HOME before starting transmission-daemon, it is ignored and the user's home is used instead. If there is no settings.json it is created in ~/.config/transmission-daemon/ along with the other directories.

See discussion at https://forum.transmissionbt.com/viewtopic.php?f=2&t=11646&p=53950#p53930

Using v2.22 on ClearOS 5.2 (based on CentOS 5.5)

Full init script is attached. Note the file /etc/sysconfig/transmission-daemon was empty during my testing.

Attachments (1)

transmission-daemon (2.2 KB) - added by nickh 12 years ago.
transmission-daemon init script

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by nickh

transmission-daemon init script

comment:1 Changed 12 years ago by jordan

  • Resolution set to worksforme
  • Status changed from new to closed

It doesn't appear to be a transmission bug:

$ ./transmission-daemon -f 2>&1 | grep "Using settings"
[20:40:40.705] Using settings from "/home/jordan/.config/transmission-daemon" (daemon.c:489)
^C
$ export TRANSMISSION_HOME=/tmp/transmission-test
$ ./transmission-daemon -f 2>&1 | grep "Using settings"
[20:40:51.724] Using settings from "/tmp/transmission-test" (daemon.c:489)
Note: See TracTickets for help on using tickets.