Separators

This commit is contained in:
Bob Mottram 2017-01-01 20:59:04 +00:00
parent 42e433934a
commit 4939d522f6
1 changed files with 2 additions and 2 deletions

View File

@ -321,7 +321,7 @@ function upgrade_matrix {
cd /etc/sydent
pip install --upgrade --process-dependency-links .
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
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
chown -R matrix:matrix /etc/matrix
chown -R matrix:matrix /etc/sydent
@ -614,7 +614,7 @@ function install_home_server {
chown -R matrix:matrix /etc/matrix
chown -R matrix:matrix $MATRIX_DATA_DIR
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
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
echo '[Unit]' > /etc/systemd/system/matrix.service
echo 'Description=Synapse Matrix homeserver' >> /etc/systemd/system/matrix.service