mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Fix missing app-service config file
This commit is contained in:
parent
42a60c24c0
commit
5b826589bf
2 changed files with 3 additions and 1 deletions
|
@ -176,6 +176,7 @@ mkdir -p /var/lib/matrix-$app
|
|||
mkdir -p /var/log/matrix-$app
|
||||
mkdir -p /etc/matrix-$app/conf.d
|
||||
mkdir -p /etc/matrix-$app/app-service
|
||||
echo "app_service_config_files:" > /etc/matrix-$app/conf.d/app_service.yaml
|
||||
|
||||
# Install synapse in virtualenv
|
||||
install_sources
|
||||
|
|
|
@ -386,8 +386,9 @@ cp ../sources/update_synapse_for_appservice.sh $final_path/
|
|||
ynh_replace_string --match_string=__APP__ --replace_string=$app --target_file="$final_path/Coturn_config_rotate.sh"
|
||||
ynh_replace_string --match_string=__APP__ --replace_string=$app --target_file="$final_path/update_synapse_for_appservice.sh"
|
||||
|
||||
# Ensure app-service folder has exists (Migration)
|
||||
# Ensure app-service folder has exists and the config file exit (Migration)
|
||||
mkdir -p /etc/matrix-$app/app-service
|
||||
test -e /etc/matrix-$app/conf.d/app_service.yaml || echo "app_service_config_files:" > /etc/matrix-$app/conf.d/app_service.yaml
|
||||
|
||||
#=================================================
|
||||
# ADVERTISE SERVICE IN ADMIN PANEL
|
||||
|
|
Loading…
Reference in a new issue