According to https://trac.transmissionbt.com/wiki/EditConfigFiles the transmission-daemon has the ability to reload it's config by sending a HUP signal to the demon process. Please add a reload function to the initscript, it could look like this: reload() { ebegin "Reloading transmission configuration" killall -HUP transmission-daemon eend $? } Reproducible: Always
Please do not use killall for these things; it's going to mess up with containers.
(In reply to comment #1) > Please do not use killall for these things; it's going to mess up with > containers. > using start-stop-daemon will be better; the following works for me, as the log says "Reloading settings from "/var/transmission/config": reload() { ebegin "Reloading transmission configuration" start-stop-daemon --signal HUP --pidfile ${pidfile} eend $? }
Added in transmission-2.10. It has quite mangled init script but it should be much easier to understand then previous one. It has only three configuration options in conf.d file: TRANSMISSION_OPTIONS - options for transmission-daemon, logfile and runas_user (which is now required and default to transmission but you may change defaults, of course). Enjoy.