|
@@ -316,6 +316,8 @@ function upgrade_matrix {
|
316
|
316
|
cd /etc/sydent
|
317
|
317
|
pip install --upgrade --process-dependency-links .
|
318
|
318
|
|
|
319
|
+ sed -i 's|ssl.PROTOCOL_SSLv23|ssl.PROTOCOL_TLSv1|g' /usr/local/bin/register_new_matrix_user
|
|
320
|
+
|
319
|
321
|
chown -R matrix:matrix /etc/matrix
|
320
|
322
|
chown -R matrix:matrix /etc/sydent
|
321
|
323
|
chown -R matrix:matrix $MATRIX_DATA_DIR
|
|
@@ -555,6 +557,8 @@ function install_home_server {
|
555
|
557
|
chown -R matrix:matrix /etc/matrix
|
556
|
558
|
chown -R matrix:matrix $MATRIX_DATA_DIR
|
557
|
559
|
|
|
560
|
+ sed -i 's|ssl.PROTOCOL_SSLv23|ssl.PROTOCOL_TLSv1|g' /usr/local/bin/register_new_matrix_user
|
|
561
|
+
|
558
|
562
|
echo '[Unit]' > /etc/systemd/system/matrix.service
|
559
|
563
|
echo 'Description=Synapse Matrix homeserver' >> /etc/systemd/system/matrix.service
|
560
|
564
|
echo 'After=network.target nginx.target' >> /etc/systemd/system/matrix.service
|