|
@ -114,12 +114,12 @@ transmission() { |
|
|
|
|
|
|
|
|
procd_open_instance |
|
|
procd_open_instance |
|
|
procd_set_param command "/usr/bin/transmission-daemon" |
|
|
procd_set_param command "/usr/bin/transmission-daemon" |
|
|
procd_append_param command "-f --log-error -g $config_dir" |
|
|
|
|
|
|
|
|
procd_append_param command -f --log-error -g "$config_dir" |
|
|
procd_set_param user "$user" |
|
|
procd_set_param user "$user" |
|
|
procd_set_param group "$group" |
|
|
procd_set_param group "$group" |
|
|
procd_set_param nice "$nice" |
|
|
procd_set_param nice "$nice" |
|
|
procd_set_param stderr 1 |
|
|
procd_set_param stderr 1 |
|
|
procd_set_param respawn retry=60 |
|
|
|
|
|
|
|
|
procd_set_param respawn |
|
|
|
|
|
|
|
|
if [ -z "$USE" ]; then |
|
|
if [ -z "$USE" ]; then |
|
|
procd_set_param limits core="0 0" |
|
|
procd_set_param limits core="0 0" |
|
|