mirror of
https://github.com/linuxserver/docker-diskover.git
synced 2026-01-14 16:41:38 +08:00
Export DISKOVER_ARRAY for cleanup.sh
This commit is contained in:
parent
e4ba8c0d4c
commit
3740ceeb9b
@ -16,7 +16,7 @@ DISKOVER_ARRAY[DISKOVER_OPTS]="${DISKOVER_ARRAY[DISKOVER_OPTS]} -i ${DISKOVER_AR
|
||||
|
||||
cd /app/diskover || exit
|
||||
|
||||
/bin/bash /app/cleanup.sh
|
||||
BASH_ENV=<(declare -p DISKOVER_ARRAY) /bin/bash /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