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:
parent
d668e511f5
commit
644333dd98
|
@ -30,10 +30,10 @@
|
|||
# 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/>.
|
||||
|
||||
VARIANTS='full full-vim chat'
|
||||
VARIANTS=''
|
||||
|
||||
IN_DEFAULT_INSTALL=0
|
||||
SHOW_ON_ABOUT=1
|
||||
SHOW_ON_ABOUT=0
|
||||
|
||||
SYNAPSE_PORT=8448
|
||||
SYNAPSE_PASSWORD=
|
||||
|
@ -360,16 +360,16 @@ function install_synapse {
|
|||
exit 653835
|
||||
fi
|
||||
|
||||
apt-get -yq install matrix-synapse-angular-client
|
||||
cp -av /etc/matrix-synapse/conf.d/webclient.yaml \
|
||||
/etc/matrix-synapse/conf.d/webclient.yaml.orig
|
||||
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
|
||||
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
|
||||
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
|
||||
rm -f /etc/matrix-synapse/conf.d/*.orig /etc/matrix-synapse/conf.d/*~
|
||||
#apt-get -yq install matrix-synapse-angular-client
|
||||
#cp -av /etc/matrix-synapse/conf.d/webclient.yaml \
|
||||
#/etc/matrix-synapse/conf.d/webclient.yaml.orig
|
||||
#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
|
||||
#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
|
||||
#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
|
||||
#rm -f /etc/matrix-synapse/conf.d/*.orig /etc/matrix-synapse/conf.d/*~
|
||||
|
||||
update_default_domain
|
||||
systemctl stop matrix-synapse
|
||||
|
|
Loading…
Reference in New Issue