diff --git a/src/freedombone-app-matrix b/src/freedombone-app-matrix index 070fa155..a6e6c12f 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}" >> /etc/tor/torrc + echo "HiddenServicePort ${MATRIX_HTTP_PORT} 127.0.0.1:${MATRIX_FEDERATION_ONION_PORT}" >> $ONION_SERVICES_FILE systemctl restart tor if [ ! "${MATRIX_PASSWORD}" ]; then