mirror of
https://github.com/linuxserver/docker-jackett.git
synced 2026-02-20 00:24:44 +08:00
typo and add default if unset to auto update
This commit is contained in:
parent
769df825e8
commit
c6925746ef
@ -120,7 +120,7 @@ Container images are configured using parameters passed at runtime (such as thos
|
||||
| `-e PUID=1000` | for UserID - see below for explanation |
|
||||
| `-e PGID=1000` | for GroupID - see below for explanation |
|
||||
| `-e TZ=Europe/London` | Specify a timezone to use EG Europe/London. |
|
||||
| `-e AUTO_UPDATE=true` | Allow Jackett to update inside of the container (currently recommended by Jacket) |
|
||||
| `-e AUTO_UPDATE=true` | Allow Jackett to update inside of the container (currently recommended by Jackett and enabled by default) |
|
||||
| `-e RUN_OPTS=<run options here>` | Optionally specify additional arguments to be passed. EG. `--ProxyConnection=10.0.0.100:1234`. |
|
||||
| `-v /config` | Where Jackett should store its config file. |
|
||||
| `-v /downloads` | Path to torrent blackhole. |
|
||||
|
||||
@ -40,7 +40,7 @@ cap_add_param: false
|
||||
# optional container parameters
|
||||
opt_param_usage_include_env: true
|
||||
opt_param_env_vars:
|
||||
- { env_var: "AUTO_UPDATE", env_value: "true", desc: "Allow Jackett to update inside of the container (currently recommended by Jacket)" }
|
||||
- { env_var: "AUTO_UPDATE", env_value: "true", desc: "Allow Jackett to update inside of the container (currently recommended by Jackett and enabled by default)" }
|
||||
- { env_var: "RUN_OPTS", env_value: "<run options here>", desc: "Optionally specify additional arguments to be passed. EG. `--ProxyConnection=10.0.0.100:1234`." }
|
||||
opt_param_usage_include_vols: false
|
||||
opt_param_usage_include_ports: false
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
chown -R abc:abc \
|
||||
/config
|
||||
|
||||
if [ "${AUTO_UPDATE}" == "true" ]; then
|
||||
if [ -z ${AUTO_UPDATE+x} ] || [ "${AUTO_UPDATE}" == "true" ]; then
|
||||
chown -R abc:abc \
|
||||
/app/Jackett
|
||||
fi
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
if [ "${AUTO_UPDATE}" == "true" ]; then
|
||||
if [ -z ${AUTO_UPDATE+x} ] || [ "${AUTO_UPDATE}" == "true" ]; then
|
||||
COMMAND="/app/Jackett/jackett_launcher.sh"
|
||||
else
|
||||
COMMAND="/app/Jackett/jackett --NoUpdates"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user