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?
settings.json file resets settings on transmission start
-
- Posts: 2
- Joined: Tue Jan 09, 2018 8:53 pm
-
- Posts: 2
- Joined: Tue Jan 09, 2018 8:53 pm
Re: settings.json file resets settings on transmission start
it was my own clowning
my script was saving the port as a string instead of a integer. problem solved.
my script was saving the port as a string instead of a integer. problem solved.