Back to v1
This commit is contained in:
parent
70b230294e
commit
4cb50a5b66
|
@ -323,7 +323,7 @@ function upgrade_matrix {
|
||||||
cd /etc/sydent
|
cd /etc/sydent
|
||||||
pip install --upgrade --process-dependency-links .
|
pip install --upgrade --process-dependency-links .
|
||||||
|
|
||||||
sed -i 's/ssl.PROTOCOL_SSLv23/ssl.PROTOCOL_TLSv1_2/g' /usr/local/bin/register_new_matrix_user
|
sed -i 's/ssl.PROTOCOL_SSLv23/ssl.PROTOCOL_TLSv1/g' /usr/local/bin/register_new_matrix_user
|
||||||
|
|
||||||
chown -R matrix:matrix /etc/matrix
|
chown -R matrix:matrix /etc/matrix
|
||||||
chown -R matrix:matrix /etc/sydent
|
chown -R matrix:matrix /etc/sydent
|
||||||
|
@ -616,7 +616,7 @@ function install_home_server {
|
||||||
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
|
||||||
|
|
||||||
sed -i 's/ssl.PROTOCOL_SSLv23/ssl.PROTOCOL_TLSv1_2/g' /usr/local/bin/register_new_matrix_user
|
sed -i 's/ssl.PROTOCOL_SSLv23/ssl.PROTOCOL_TLSv1/g' /usr/local/bin/register_new_matrix_user
|
||||||
|
|
||||||
echo '[Unit]' > /etc/systemd/system/matrix.service
|
echo '[Unit]' > /etc/systemd/system/matrix.service
|
||||||
echo 'Description=Synapse Matrix homeserver' >> /etc/systemd/system/matrix.service
|
echo 'Description=Synapse Matrix homeserver' >> /etc/systemd/system/matrix.service
|
||||||
|
|
Loading…
Reference in New Issue