settings.json file resets settings on transmission start

Discussion of Transmission that doesn't fit in the other categories
amamdani15
Posts: 2
Joined: Tue Jan 09, 2018 8:53 pm

settings.json file resets settings on transmission start

Postby amamdani15 » Tue Jan 09, 2018 9:04 pm

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?

amamdani15
Posts: 2
Joined: Tue Jan 09, 2018 8:53 pm

Re: settings.json file resets settings on transmission start

Postby amamdani15 » Thu Jan 11, 2018 4:19 pm

it was my own clowning

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


Return to “General”