Ignores config file

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
nuhzaw
Posts: 2
Joined: Sun Sep 16, 2012 12:12 am

Ignores config file

Post by nuhzaw »

Hi,

I installed transmission and transmission-daemon on my debian server.

I tried to edit the settings.json in /etc/transmission-daemon/ and saved these edits while transmission was not running.
Now I start transmission-daemon by simply writing transmission-daemon into the shell, which seems to work (with root rights at the moment); there is one process.

Problem is; it completely ignores all configs I wrote (rpc auth etc). I read in the forums here that there might be a settings file in /var/ but this one is symlinked to the one in /etc/.

Any ideas why this does not work?
dgibbs
Posts: 15
Joined: Sat Jul 09, 2011 7:39 pm

Re: Ignores config file

Post by dgibbs »

The only way I know currently is to stop the transmission-daemon make your changes and start it again. But this doesn't always work
nuhzaw
Posts: 2
Joined: Sun Sep 16, 2012 12:12 am

Re: Ignores config file

Post by nuhzaw »

So I found out what my error was maybe this helps other people.

I started transmission-daemon by simply typing transmission-daemon in my root shell, which led to transmission being started as root and thus all config files were now in /root/.config/transmission-daemon/settings.json.
So the files in /etc/transmission-daemon were not read.

So always start transmission via service transmission-daemon start; this way it will not have root rights and will read the correct config from /etc/.
Pierobon
Posts: 16
Joined: Fri Oct 19, 2012 8:17 pm

Re: Ignores config file

Post by Pierobon »

nuhzaw wrote:So always start transmission via service transmission-daemon start; this way it will not have root rights and will read the correct config from /etc/.
I don't understand, how do I start something via service?
(what exactly is this? LoL sorry the ignorance.)
Post Reply