1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00

Fix copy dh.pem

This commit is contained in:
Josué Tille 2018-01-03 11:07:16 +01:00
parent 9dac61a33a
commit 298dfbc7f0

View file

@ -130,9 +130,10 @@ if [[ ! $(grep "ssl-cert:x:[0-9]*:.*matrix-synapse" /etc/group) ]]
then
adduser $synapse_user ssl-cert
adduser turnserver ssl-cert
cp /etc/yunohost/certs/$domain/dh.pem /etc/matrix-synapse/dh.pem
fi
test -e /etc/matrix-synapse/dh.pem || cp /etc/yunohost/certs/$domain/dh.pem /etc/matrix-synapse/dh.pem
# Upgrade manually Synapse
install_source
set_permission