mirror of
https://github.com/owntracks/docker-recorder.git
synced 2026-02-13 20:49:51 +00:00
10 lines
238 B
Bash
10 lines
238 B
Bash
#!/bin/sh
|
|
|
|
if ! [ -f ${OTR_STORAGEDIR}/ghash/data.mdb ]; then
|
|
ot-recorder --initialize
|
|
fi
|
|
|
|
# invoke ot-recorder with either $OTR_TOPIC or $OTR_TOPICS, with the
|
|
# latter overriding the former
|
|
ot-recorder ${OTR_TOPICS:-$OTR_TOPIC} "$@"
|