Quiet
This commit is contained in:
parent
4cb50a5b66
commit
af25e3812f
|
@ -59,7 +59,7 @@ function matrix_nginx {
|
||||||
|
|
||||||
# append the matrix server to the web site config
|
# append the matrix server to the web site config
|
||||||
matrix_nginx_site=/etc/nginx/sites-available/$DEFAULT_DOMAIN_NAME
|
matrix_nginx_site=/etc/nginx/sites-available/$DEFAULT_DOMAIN_NAME
|
||||||
if ! grep "# End of Matrix Server" $matrix_nginx_site; then
|
if ! grep -q "# End of Matrix Server" $matrix_nginx_site; then
|
||||||
if [[ $ONION_ONLY == "no" ]]; then
|
if [[ $ONION_ONLY == "no" ]]; then
|
||||||
echo '# Matrix Server' >> $matrix_nginx_site
|
echo '# Matrix Server' >> $matrix_nginx_site
|
||||||
echo 'server {' >> $matrix_nginx_site
|
echo 'server {' >> $matrix_nginx_site
|
||||||
|
|
|
@ -65,7 +65,7 @@ function install_turn {
|
||||||
|
|
||||||
# append the matrix server to the web site config
|
# append the matrix server to the web site config
|
||||||
turn_nginx_site=/etc/nginx/sites-available/$DEFAULT_DOMAIN_NAME
|
turn_nginx_site=/etc/nginx/sites-available/$DEFAULT_DOMAIN_NAME
|
||||||
if ! grep "# End of TURN Server" $turn_nginx_site; then
|
if ! grep -q "# End of TURN Server" $turn_nginx_site; then
|
||||||
if [[ $ONION_ONLY == "no" ]]; then
|
if [[ $ONION_ONLY == "no" ]]; then
|
||||||
echo '# TURN Server' >> $turn_nginx_site
|
echo '# TURN Server' >> $turn_nginx_site
|
||||||
echo 'server {' >> $turn_nginx_site
|
echo 'server {' >> $turn_nginx_site
|
||||||
|
|
Loading…
Reference in New Issue