disable change preferences for transmission-daemon
disable change preferences for transmission-daemon
Hello. I installed transmission-daemon on CentOS, and created 3 users with 3 settings files and run 3 demons from each users. For all users I setup speed limit, but in web-gui user may change it or disable speed limit and my preferences can't work. How can I prevent changes settings for all users?
Re: disable change preferences for transmission-daemon
the daemon only uses one settings file i think. you set which one in (i have archlinux) /etc/conf.d/transmissiondCyon wrote:Hello. I installed transmission-daemon on CentOS, and created 3 users with 3 settings files and run 3 demons from each users. For all users I setup speed limit, but in web-gui user may change it or disable speed limit and my preferences can't work. How can I prevent changes settings for all users?
there are three options:
# TRANSMISSION_HOME=/home/foo
TRANS_USER="transman"
TRANS_ARGS="-g /home/$TRANS_USER/.config/transmission-daemon"
TRANSMISSION_HOME just sets the the directory plain and simple. Uncomment and add the directory you want.
if you set up like i have above, it will use the settings file in that users folder (so for me that becomes /home/transman/.config/transmission-daemon). maybe you can leave TRANS_USER commented out and then transmission will simply use the user that starts the daemon. but i dont know. try it. let me know if that works, would be a good function to use.