I'm using the ARM Linux distro of transmission on my NAS (DNS323). I start it with:
transmission-daemon -f -g /mnt/HD_a2/.transmission-daemon
However, I want to enable (set true) the incomplete-dir-enabled attribute in settings.json. If I edit the file using vi and save, when I restart transmission the file is overwritten. Is there a command to update the file so it survives a restart?
Thank you
Editting settings.json
Re: Editting settings.json
Either kill transmission-daemon before making any changes or signal it with SIGHUP to reload the settings while it's running. I recommend the latter.
Re: Editting settings.json
How to signal it with SIGHUP?
Re: Editting settings.json
1) Make your changes to settings.jsonbound4h wrote:How to signal it with SIGHUP?
2) kill -SIGHUP `pidof transmission-daemon`
Re: Editting settings.json
But there are about 4 different processes for transmission running...
Which one? Also, when use the ` and the ` to enclose the PID, it says:
Code: Select all
22193 22192 nobody S 8632 14% 0% /ffp/bin/transmission-daemon -f -g /mnt/HD_a2/.transmission-daemon
22194 22192 nobody S 8632 14% 0% /ffp/bin/transmission-daemon -f -g /mnt/HD_a2/.transmission-daemon
22191 1 nobody S 8632 14% 0% /ffp/bin/transmission-daemon -f -g /mnt/HD_a2/.transmission-daemon
22192 22191 nobody S 8632 14% 0% /ffp/bin/transmission-daemon -f -g /mnt/HD_a2/.transmission-daemon
Code: Select all
root@zbackup:/mnt/HD_a2/.transmission-daemon# kill -SIGHUP `22191`
-sh: 22191: not found
sh: you need to specify whom to kill
Re: Editting settings.json
Don't add the ticks. The contents of the ticks are evaluated like commands. `pidof transmission-daemon` can either manually (by you) be replaced with the actual PID (no ticks) or you can leave the command as it is. pidof isn't a standard command, though.
Code: Select all
kill -SIGHUP 22191