Disable matrix web client
This commit is contained in:
parent
e36ec5c0fb
commit
197920ffae
|
@ -30,6 +30,8 @@
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
# You should have received a copy of the GNU Affero General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
# Login username is @username:domain
|
||||||
|
|
||||||
VARIANTS='full full-vim chat'
|
VARIANTS='full full-vim chat'
|
||||||
|
|
||||||
IN_DEFAULT_INSTALL=0
|
IN_DEFAULT_INSTALL=0
|
||||||
|
@ -341,6 +343,8 @@ function upgrade_matrix {
|
||||||
chown -R matrix:matrix /etc/sydent
|
chown -R matrix:matrix /etc/sydent
|
||||||
chown -R matrix:matrix $MATRIX_DATA_DIR
|
chown -R matrix:matrix $MATRIX_DATA_DIR
|
||||||
|
|
||||||
|
pip install --upgrade --force "pynacl==0.3.0"
|
||||||
|
|
||||||
systemctl start turn
|
systemctl start turn
|
||||||
systemctl start matrix
|
systemctl start matrix
|
||||||
systemctl start sydent
|
systemctl start sydent
|
||||||
|
@ -639,6 +643,8 @@ function install_home_server {
|
||||||
exit 783724
|
exit 783724
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
sed -i 's|web_client:.*|web_client: False|g' $MATRIX_DATA_DIR/homeserver.yaml
|
||||||
|
|
||||||
chmod -R 700 $MATRIX_DATA_DIR/homeserver.yaml
|
chmod -R 700 $MATRIX_DATA_DIR/homeserver.yaml
|
||||||
chown -R matrix:matrix /etc/matrix
|
chown -R matrix:matrix /etc/matrix
|
||||||
chown -R matrix:matrix $MATRIX_DATA_DIR
|
chown -R matrix:matrix $MATRIX_DATA_DIR
|
||||||
|
@ -732,7 +738,7 @@ function install_matrix {
|
||||||
function_check update_default_domain
|
function_check update_default_domain
|
||||||
update_default_domain
|
update_default_domain
|
||||||
|
|
||||||
#pip install --upgrade --force "pynacl==0.3.0"
|
pip install --upgrade --force "pynacl==0.3.0"
|
||||||
|
|
||||||
function_check matrix_nginx
|
function_check matrix_nginx
|
||||||
matrix_nginx
|
matrix_nginx
|
||||||
|
|
Loading…
Reference in New Issue