Summary: | net-p2p/transmission: missing reload() in init-script | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mark <mark.morschhaeuser> |
Component: | Current packages | Assignee: | Peter Volkov (RETIRED) <pva> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | net-p2p |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Mark
2010-08-21 09:32:54 UTC
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. |