mirror of
https://github.com/linuxserver/docker-diskover.git
synced 2026-02-04 19:06:11 +08:00
Testing array export for cleanup vars
This commit is contained in:
parent
ef35212ece
commit
f7a2c8907d
@ -14,9 +14,11 @@ DISKOVER_ARRAY[REDIS_PORT]=${REDIS_PORT:-6379}
|
||||
|
||||
DISKOVER_ARRAY[DISKOVER_OPTS]="${DISKOVER_ARRAY[DISKOVER_OPTS]} -i ${DISKOVER_ARRAY[INDEX_NAME]}"
|
||||
|
||||
declare -p DISKOVER_ARRAY > /config/.diskover_array
|
||||
|
||||
cd /app/diskover || exit
|
||||
|
||||
/bin/bash /app/cleanup.sh
|
||||
/bin/bash -c ". /config/.diskover_array; /app/cleanup.sh"
|
||||
|
||||
echo "starting workers with following options: ${DISKOVER_ARRAY[WORKER_OPTS]}"
|
||||
/bin/bash /app/diskover/diskover-bot-launcher.sh ${DISKOVER_ARRAY[WORKER_OPTS]}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user