Page 1 of 1

settings.json file resets settings on transmission start

Posted: Tue Jan 09, 2018 9:04 pm
by amamdani15
so ive created a script that sets the port of my transmission GUI interface based on the port that i receive when i launch openvpn.

the script stops transmission, changes the rpc-port in the settings.json file and then relaunches transmission.

when i do it all manually, i have no issues at all, but when the script does it, the file reverts.

i have set the permissions back to 600 for the file before relaunching, but the same thing happens.

any ideas on where im going wrong?

Re: settings.json file resets settings on transmission start

Posted: Thu Jan 11, 2018 4:19 pm
by amamdani15
it was my own clowning

my script was saving the port as a string instead of a integer. problem solved.