Don't use matrix for now

The current configuration doesn't work, and the identity server appears to be centralised
This commit is contained in:
Bob Mottram 2016-11-07 23:09:26 +00:00
parent d668e511f5
commit 644333dd98
1 changed files with 12 additions and 12 deletions

View File

@ -30,10 +30,10 @@
# You should have received a copy of the GNU Affero General Public License # You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
VARIANTS='full full-vim chat' VARIANTS=''
IN_DEFAULT_INSTALL=0 IN_DEFAULT_INSTALL=0
SHOW_ON_ABOUT=1 SHOW_ON_ABOUT=0
SYNAPSE_PORT=8448 SYNAPSE_PORT=8448
SYNAPSE_PASSWORD= SYNAPSE_PASSWORD=
@ -360,16 +360,16 @@ function install_synapse {
exit 653835 exit 653835
fi fi
apt-get -yq install matrix-synapse-angular-client #apt-get -yq install matrix-synapse-angular-client
cp -av /etc/matrix-synapse/conf.d/webclient.yaml \ #cp -av /etc/matrix-synapse/conf.d/webclient.yaml \
/etc/matrix-synapse/conf.d/webclient.yaml.orig #/etc/matrix-synapse/conf.d/webclient.yaml.orig
sed -e 's|,$||g' -i /etc/matrix-synapse/conf.d/webclient.yaml #sed -e 's|,$||g' -i /etc/matrix-synapse/conf.d/webclient.yaml
cp -av /etc/init.d/matrix-synapse /etc/init.d/matrix-synapse.orig #cp -av /etc/init.d/matrix-synapse /etc/init.d/matrix-synapse.orig
sed -e 's|chown $USER:nogroup $PIDFILE.*|chown $USER:nogroup $PIDFILE /var/lib/$NAME/media|g' -i /etc/init.d/matrix-synapse #sed -e 's|chown $USER:nogroup $PIDFILE.*|chown $USER:nogroup $PIDFILE /var/lib/$NAME/media|g' -i /etc/init.d/matrix-synapse
diff -u /etc/init.d/matrix-synapse.orig /etc/init.d/matrix-synapse #diff -u /etc/init.d/matrix-synapse.orig /etc/init.d/matrix-synapse
cp -av /etc/matrix-synapse/homeserver.yaml /etc/matrix-synapse/homeserver.yaml.orig #cp -av /etc/matrix-synapse/homeserver.yaml /etc/matrix-synapse/homeserver.yaml.orig
sed -i 's|enable_registration: False|enable_registration: True|g' -i /etc/matrix-synapse/homeserver.yaml #sed -i 's|enable_registration: False|enable_registration: True|g' -i /etc/matrix-synapse/homeserver.yaml
rm -f /etc/matrix-synapse/conf.d/*.orig /etc/matrix-synapse/conf.d/*~ #rm -f /etc/matrix-synapse/conf.d/*.orig /etc/matrix-synapse/conf.d/*~
update_default_domain update_default_domain
systemctl stop matrix-synapse systemctl stop matrix-synapse