Sleep longer on low power hardware
This commit is contained in:
parent
108f98b6da
commit
73c1cc1d67
|
@ -592,10 +592,15 @@ function install_home_server {
|
|||
# wait for the database to be created
|
||||
sleep 5
|
||||
|
||||
if [ ! -f $MATRIX_DATA_DIR/homeserver.db ]; then
|
||||
# On low power systems more sleeping may be needed
|
||||
sleep 10
|
||||
|
||||
if [ ! -f $MATRIX_DATA_DIR/homeserver.db ]; then
|
||||
echo $'No matrix home server database was created'
|
||||
exit 23782
|
||||
fi
|
||||
fi
|
||||
chmod -R 700 $MATRIX_DATA_DIR/homeserver.db
|
||||
|
||||
MATRIX_ONION_HOSTNAME=$(add_onion_service matrix ${MATRIX_PORT} ${MATRIX_ONION_PORT})
|
||||
|
|
Loading…
Reference in New Issue