diff options
author | Leonid Bogdanov <leonidbogdanov86@gmail.com> | 2023-06-10 23:06:31 +1000 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2023-06-11 12:14:17 +0100 |
commit | c662aefd9aaa15b3a1f7570ccd1d5fe33aeb2a45 (patch) | |
tree | 6e9c8a0719201a3faea123d246c2bdf863519c6e /net | |
parent | 9bc2733f31fb9ef083d7b2ed8235ffef9dbc3b21 (diff) |
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/transmission/files/transmission.init | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/transmission/files/transmission.init b/net/transmission/files/transmission.init index a1673087f..896cee18f 100644 --- a/net/transmission/files/transmission.init +++ b/net/transmission/files/transmission.init @@ -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" |