Sleep longer on low power hardware
This commit is contained in:
parent
108f98b6da
commit
73c1cc1d67
|
@ -593,8 +593,13 @@ function install_home_server {
|
|||
sleep 5
|
||||
|
||||
if [ ! -f $MATRIX_DATA_DIR/homeserver.db ]; then
|
||||
echo $'No matrix home server database was created'
|
||||
exit 23782
|
||||
# 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
|
||||
|
||||
|
|
Loading…
Reference in New Issue