Search found 4 matches

by Random
Mon Feb 20, 2012 5:29 pm
Forum: Support
Topic: Changing daemon password Transmission 2.42
Replies: 4
Views: 6193

Re: Changing daemon password Transmission 2.42

Aha, that worked :D tyvm
by Random
Mon Feb 20, 2012 12:46 pm
Forum: Support
Topic: Changing daemon password Transmission 2.42
Replies: 4
Views: 6193

Re: Changing daemon password Transmission 2.42

#!/bin/bash


if [ $# -ne 1 ]; then
echo "usage: ${0##*/} <username>"
exit
fi
user="${1}"

sv -v down "/service/transmission-daemon.$user";

base_dir="/var/lib/transmission-daemon"

user_dir="${base_dir}.${user}"

user_conf="${user_dir}/info/settings.json"


read password
new_line=' "rpc-password ...
by Random
Mon Feb 20, 2012 12:39 pm
Forum: Support
Topic: Changing daemon password Transmission 2.42
Replies: 4
Views: 6193

Re: Changing daemon password Transmission 2.42

Yeah, before the daemon is restarted it grabs and echos the settings.json file with the new password nicely where it should be, then it starts the daemon and re-echos the file with the old password back :(
by Random
Sun Feb 19, 2012 11:39 pm
Forum: Support
Topic: Changing daemon password Transmission 2.42
Replies: 4
Views: 6193

Changing daemon password Transmission 2.42

Hello, I'm using ubuntu and running Transmission 2.42, I have a bash script that stops the transmission service, modifies the password in the settings.json file and the restarts the service, however the settings.json just reverts immediately back to the old password :/
Any ideas as to why and what I ...