mirror of
https://github.com/luzifer-docker/openfire.git
synced 2024-11-09 18:00:13 +00:00
Fix: Logs have changed
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
0243fe89ca
commit
241042d08d
1 changed files with 10 additions and 10 deletions
6
start.sh
6
start.sh
|
@ -20,14 +20,14 @@ rm -rf /opt/openfire/conf && ln -sfn /data/conf /opt/openfire/conf
|
||||||
# let openfire start
|
# let openfire start
|
||||||
echo "Waiting for Openfire to start..."
|
echo "Waiting for Openfire to start..."
|
||||||
count=0
|
count=0
|
||||||
while [ ! -e /opt/openfire/logs/all.log ]; do
|
while [ ! -e /opt/openfire/logs/stdoutt.log ]; do
|
||||||
if [ $count -eq 60 ]; then
|
if [ $count -eq 60 ]; then
|
||||||
echo "Error starting Openfire. Exiting"
|
echo "Error starting Openfire. Exiting"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
count=$(( $count + 1 ))
|
count=$((count + 1))
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
|
|
||||||
# tail the log
|
# tail the log
|
||||||
tail -f /opt/openfire/logs/all.log
|
tail -F /opt/openfire/logs/*.log
|
||||||
|
|
Loading…
Reference in a new issue