mirror of
https://github.com/linuxserver/docker-diskover.git
synced 2026-02-04 13:04:06 +08:00
Testing
This commit is contained in:
parent
5a4222c4b0
commit
a2a5de939b
@ -2,6 +2,16 @@
|
||||
|
||||
# need to safely handle exiting the existing worker bots and
|
||||
# redis queue when container restarts or stops
|
||||
|
||||
. /config/.env
|
||||
|
||||
# define array for input values
|
||||
declare -A DISKOVER_ARRAY
|
||||
DISKOVER_ARRAY[REDIS_HOST]=${REDIS_HOST:-redis}
|
||||
DISKOVER_ARRAY[REDIS_PORT]=${REDIS_PORT:-6379}
|
||||
|
||||
DISKOVER_ARRAY[DISKOVER_OPTS]="${DISKOVER_ARRAY[DISKOVER_OPTS]} -i ${DISKOVER_ARRAY[INDEX_NAME]}"
|
||||
|
||||
_term() {
|
||||
#/bin/bash /app/cleanup.sh
|
||||
# Redis Cleanup
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user