mirror of
https://github.com/linuxserver/docker-diskover.git
synced 2026-01-18 10:43:31 +08:00
Fix for DISKOVER_OPTS
Syntax was causing DISKOVER_ARRAY[DISKOVER_OPTS] to get overwritten by the value of DISKOVER_OPTS that the user specified rather than adding to it, IE: specifying "DISKOVER_OPTS=--autotag" resulted in JUST `--autotag -i diskover-2019-07-16` instead of `--autotag -d /data -a -i diskover-2019-07-16`.
This commit is contained in:
parent
4b2decff5c
commit
2ae2f375bc
@ -7,7 +7,7 @@ declare -A DISKOVER_ARRAY
|
||||
DISKOVER_ARRAY[TODAY]=$(date +%Y-%m-%d)
|
||||
DISKOVER_ARRAY[INDEX_PREFIX]=${INDEX_PREFIX:-diskover-}
|
||||
DISKOVER_ARRAY[INDEX_NAME]=${INDEX_NAME:-${DISKOVER_ARRAY[INDEX_PREFIX]}${DISKOVER_ARRAY[TODAY]}}
|
||||
DISKOVER_ARRAY[DISKOVER_OPTS]=${DISKOVER_OPTS:-"-d /data -a"}
|
||||
DISKOVER_ARRAY[DISKOVER_OPTS]="${DISKOVER_OPTS:-} -d /data -a"
|
||||
DISKOVER_ARRAY[WORKER_OPTS]=${WORKER_OPTS:-""}
|
||||
DISKOVER_ARRAY[REDIS_HOST]=${REDIS_HOST:-redis}
|
||||
DISKOVER_ARRAY[REDIS_PORT]=${REDIS_PORT:-6379}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user