mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-24 05:17:06 +02:00
fix ot-recorder
This commit is contained in:
parent
afccefa1bc
commit
1bf80b6ec3
@ -5,10 +5,9 @@ set -xe
|
||||
if ! [ -d $OTR_STORAGEDIR/last ]
|
||||
then
|
||||
echo "initializing ..."
|
||||
ot-recorder --initialize
|
||||
mkdir -p $OTR_STORAGEDIR/last
|
||||
chown -R owntracks:owntracks $OTR_STORAGEDIR
|
||||
ot-recorder --initialize
|
||||
fi
|
||||
|
||||
chown -R owntracks:owntracks $OTR_STORAGEDIR
|
||||
|
||||
exec ot-recorder --http-host 0.0.0.0 $OTR_TOPICS
|
||||
|
@ -5,10 +5,9 @@ set -xe
|
||||
if ! [ -d $OTR_STORAGEDIR/last ]
|
||||
then
|
||||
echo "initializing ..."
|
||||
ot-recorder --initialize
|
||||
mkdir -p $OTR_STORAGEDIR/last
|
||||
chown -R owntracks:owntracks $OTR_STORAGEDIR
|
||||
ot-recorder --initialize
|
||||
fi
|
||||
|
||||
chown -R owntracks:owntracks $OTR_STORAGEDIR
|
||||
|
||||
exec ot-recorder --http-host 0.0.0.0 $OTR_TOPICS
|
||||
|
Loading…
x
Reference in New Issue
Block a user