mirror of
https://github.com/linuxserver/docker-diskover.git
synced 2026-01-27 18:43:29 +08:00
Testing
This commit is contained in:
parent
b81438c530
commit
ab462fec9e
@ -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