mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
transmission: Fix env variables passing
It's not possible to configure custom Transmission web home as corresponding env var gets overwritten by the command that sets CA bundle env var. Signed-off-by: Leonid Bogdanov <leonidbogdanov86@gmail.com>
This commit is contained in:
committed by
Daniel Golle
parent
9bc2733f31
commit
c662aefd9a
@@ -158,8 +158,8 @@ transmission() {
|
||||
logger -t transmission "Starting with $USE virt mem"
|
||||
fi
|
||||
|
||||
[ -d "$web_home" ] && procd_set_param env TRANSMISSION_WEB_HOME="$web_home"
|
||||
[ "$ca_bundle" -gt 0 ] && procd_set_param env CURL_CA_BUNDLE="$ca_bundle_file"
|
||||
[ -d "$web_home" ] && procd_append_param env TRANSMISSION_WEB_HOME="$web_home"
|
||||
[ "$ca_bundle" -gt 0 ] && procd_append_param env CURL_CA_BUNDLE="$ca_bundle_file"
|
||||
|
||||
procd_add_jail transmission log
|
||||
procd_add_jail_mount "$config_file"
|
||||
|
||||
Reference in New Issue
Block a user