mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-02-09 13:46:55 +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 ]
|
if ! [ -d $OTR_STORAGEDIR/last ]
|
||||||
then
|
then
|
||||||
echo "initializing ..."
|
echo "initializing ..."
|
||||||
ot-recorder --initialize
|
|
||||||
mkdir -p $OTR_STORAGEDIR/last
|
mkdir -p $OTR_STORAGEDIR/last
|
||||||
|
chown -R owntracks:owntracks $OTR_STORAGEDIR
|
||||||
|
ot-recorder --initialize
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chown -R owntracks:owntracks $OTR_STORAGEDIR
|
|
||||||
|
|
||||||
exec ot-recorder --http-host 0.0.0.0 $OTR_TOPICS
|
exec ot-recorder --http-host 0.0.0.0 $OTR_TOPICS
|
||||||
|
@ -5,10 +5,9 @@ set -xe
|
|||||||
if ! [ -d $OTR_STORAGEDIR/last ]
|
if ! [ -d $OTR_STORAGEDIR/last ]
|
||||||
then
|
then
|
||||||
echo "initializing ..."
|
echo "initializing ..."
|
||||||
ot-recorder --initialize
|
|
||||||
mkdir -p $OTR_STORAGEDIR/last
|
mkdir -p $OTR_STORAGEDIR/last
|
||||||
|
chown -R owntracks:owntracks $OTR_STORAGEDIR
|
||||||
|
ot-recorder --initialize
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chown -R owntracks:owntracks $OTR_STORAGEDIR
|
|
||||||
|
|
||||||
exec ot-recorder --http-host 0.0.0.0 $OTR_TOPICS
|
exec ot-recorder --http-host 0.0.0.0 $OTR_TOPICS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user