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:
parent
9dac61a33a
commit
298dfbc7f0
1 changed files with 2 additions and 1 deletions
|
@ -130,9 +130,10 @@ if [[ ! $(grep "ssl-cert:x:[0-9]*:.*matrix-synapse" /etc/group) ]]
|
||||||
then
|
then
|
||||||
adduser $synapse_user ssl-cert
|
adduser $synapse_user ssl-cert
|
||||||
adduser turnserver ssl-cert
|
adduser turnserver ssl-cert
|
||||||
cp /etc/yunohost/certs/$domain/dh.pem /etc/matrix-synapse/dh.pem
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
test -e /etc/matrix-synapse/dh.pem || cp /etc/yunohost/certs/$domain/dh.pem /etc/matrix-synapse/dh.pem
|
||||||
|
|
||||||
# Upgrade manually Synapse
|
# Upgrade manually Synapse
|
||||||
install_source
|
install_source
|
||||||
set_permission
|
set_permission
|
||||||
|
|
Loading…
Reference in a new issue