diff --git a/src/freedombone-app-matrix b/src/freedombone-app-matrix index a6e6c12f..55e8c641 100755 --- a/src/freedombone-app-matrix +++ b/src/freedombone-app-matrix @@ -702,7 +702,7 @@ function install_home_server { #MATRIX_ONION_HOSTNAME=$(add_onion_service matrix ${MATRIX_PORT} ${MATRIX_ONION_PORT}) add_onion_service matrix ${MATRIX_PORT} ${MATRIX_ONION_PORT} - echo "HiddenServicePort ${MATRIX_HTTP_PORT} 127.0.0.1:${MATRIX_FEDERATION_ONION_PORT}" >> $ONION_SERVICES_FILE + echo "HiddenServicePort ${MATRIX_HTTP_PORT} 127.0.0.1:${MATRIX_FEDERATION_ONION_PORT}" >> "$ONION_SERVICES_FILE" systemctl restart tor if [ ! "${MATRIX_PASSWORD}" ]; then