No bracket
This commit is contained in:
parent
51c41cdbb8
commit
70b230294e
|
@ -498,7 +498,7 @@ function remove_matrix {
|
||||||
remove_onion_service matrix ${MATRIX_ONION_PORT}
|
remove_onion_service matrix ${MATRIX_ONION_PORT}
|
||||||
remove_onion_service matrix ${MATRIX_ID_ONION_PORT}
|
remove_onion_service matrix ${MATRIX_ID_ONION_PORT}
|
||||||
|
|
||||||
sed -i "/# Matrix Server{/,/# End of Matrix Server/d" /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}
|
sed -i "/# Matrix Server/,/# End of Matrix Server/d" /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}
|
||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
|
|
||||||
remove_completion_param install_matrix
|
remove_completion_param install_matrix
|
||||||
|
|
|
@ -55,7 +55,7 @@ function remove_turn {
|
||||||
fi
|
fi
|
||||||
apt-get -y remove coturn
|
apt-get -y remove coturn
|
||||||
rm -rf /var/lib/turn
|
rm -rf /var/lib/turn
|
||||||
sed -i "/# TURN Server{/,/# End of TURN Server/d" /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}
|
sed -i "/# TURN Server/,/# End of TURN Server/d" /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}
|
||||||
remove_onion_service turn ${TURN_ONION_PORT}
|
remove_onion_service turn ${TURN_ONION_PORT}
|
||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue