|
|
|
|
321
|
cd /etc/sydent
|
321
|
cd /etc/sydent
|
322
|
pip install --upgrade --process-dependency-links .
|
322
|
pip install --upgrade --process-dependency-links .
|
323
|
|
323
|
|
324
|
- sed -i 's|ssl.PROTOCOL_SSLv23|ssl.OP_ALL | ssl.OP_NO_SSLv2 | ssl.OP_NO_SSLv3|g' /usr/local/bin/register_new_matrix_user
|
|
|
|
|
324
|
+ sed -i 's/ssl.PROTOCOL_SSLv23/ssl.OP_ALL | ssl.OP_NO_SSLv2 | ssl.OP_NO_SSLv3/g' /usr/local/bin/register_new_matrix_user
|
325
|
|
325
|
|
326
|
chown -R matrix:matrix /etc/matrix
|
326
|
chown -R matrix:matrix /etc/matrix
|
327
|
chown -R matrix:matrix /etc/sydent
|
327
|
chown -R matrix:matrix /etc/sydent
|
|
|
|
|
614
|
chown -R matrix:matrix /etc/matrix
|
614
|
chown -R matrix:matrix /etc/matrix
|
615
|
chown -R matrix:matrix $MATRIX_DATA_DIR
|
615
|
chown -R matrix:matrix $MATRIX_DATA_DIR
|
616
|
|
616
|
|
617
|
- sed -i 's|ssl.PROTOCOL_SSLv23|ssl.OP_ALL | ssl.OP_NO_SSLv2 | ssl.OP_NO_SSLv3|g' /usr/local/bin/register_new_matrix_user
|
|
|
|
|
617
|
+ sed -i 's/ssl.PROTOCOL_SSLv23/ssl.OP_ALL | ssl.OP_NO_SSLv2 | ssl.OP_NO_SSLv3/g' /usr/local/bin/register_new_matrix_user
|
618
|
|
618
|
|
619
|
echo '[Unit]' > /etc/systemd/system/matrix.service
|
619
|
echo '[Unit]' > /etc/systemd/system/matrix.service
|
620
|
echo 'Description=Synapse Matrix homeserver' >> /etc/systemd/system/matrix.service
|
620
|
echo 'Description=Synapse Matrix homeserver' >> /etc/systemd/system/matrix.service
|