浏览代码

Separators

Bob Mottram 8 年前
父节点
当前提交
4939d522f6
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      src/freedombone-app-matrix

+ 2
- 2
src/freedombone-app-matrix 查看文件

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