transmission: sync with master branch
Fixes to init-script were not cherry-picked properly, sync it with
version found in master branch.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry-picked from a79d6df674
)
This commit is contained in:
parent
2986916b81
commit
fff2e26a9b
1 changed files with 2 additions and 4 deletions
|
@ -114,14 +114,12 @@ transmission() {
|
|||
|
||||
procd_open_instance
|
||||
procd_set_param command "/usr/bin/transmission-daemon"
|
||||
procd_append_param -f
|
||||
procd_append_param --log-error
|
||||
procd_append_param -g $config_dir
|
||||
procd_append_param command -f --log-error -g "$config_dir"
|
||||
procd_set_param user "$user"
|
||||
procd_set_param group "$group"
|
||||
procd_set_param nice "$nice"
|
||||
procd_set_param stderr 1
|
||||
procd_set_param respawn retry=60
|
||||
procd_set_param respawn
|
||||
|
||||
if [ -z "$USE" ]; then
|
||||
procd_set_param limits core="0 0"
|
||||
|
|
Loading…
Reference in a new issue