Move tor services to new file
This commit is contained in:
parent
990edc125c
commit
05cb0bc4a0
|
@ -702,7 +702,7 @@ function install_home_server {
|
||||||
|
|
||||||
#MATRIX_ONION_HOSTNAME=$(add_onion_service matrix ${MATRIX_PORT} ${MATRIX_ONION_PORT})
|
#MATRIX_ONION_HOSTNAME=$(add_onion_service matrix ${MATRIX_PORT} ${MATRIX_ONION_PORT})
|
||||||
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
|
systemctl restart tor
|
||||||
|
|
||||||
if [ ! "${MATRIX_PASSWORD}" ]; then
|
if [ ! "${MATRIX_PASSWORD}" ]; then
|
||||||
|
|
Loading…
Reference in New Issue