mirror of
https://github.com/owntracks/docker-recorder.git
synced 2026-02-13 20:49:51 +00:00
ensure docker entrypoint uses $OTR_TOPICS if defined, with fallback to $OTR_TOPIC
addresses #86
This commit is contained in:
@@ -4,4 +4,6 @@ if ! [ -f ${OTR_STORAGEDIR}/ghash/data.mdb ]; then
|
||||
ot-recorder --initialize
|
||||
fi
|
||||
|
||||
ot-recorder ${OTR_TOPIC} "$@"
|
||||
# invoke ot-recorder with either $OTR_TOPIC or $OTR_TOPICS, with the
|
||||
# latter overriding the former
|
||||
ot-recorder ${OTR_TOPICS:-$OTR_TOPIC} "$@"
|
||||
|
||||
Reference in New Issue
Block a user