@@ -60,14 +60,6 @@ ynh_replace_string --match_string="<div class=\"galene-header\">Galène</div>" -
6060chmod -R o-rwx " $install_dir "
6161chown -R $app :www-data " $install_dir "
6262
63- # =================================================
64- # NGINX CONFIGURATION
65- # =================================================
66- ynh_script_progression --message=" Upgrading NGINX web server configuration..." --weight=3
67-
68- # Create a dedicated NGINX config
69- ynh_add_nginx_config
70-
7163# =================================================
7264# SPECIFIC UPGRADE
7365# =================================================
@@ -133,23 +125,19 @@ chmod 400 "$data_dir/groups/YunoHost_Users.json"
133125chown $app :$app " $data_dir /groups/YunoHost_Users.json"
134126
135127# =================================================
136- # SETUP SYSTEMD
128+ # REAPPLY SYSTEM CONFIGURATIONS
137129# =================================================
138- ynh_script_progression --message=" Upgrading systemd configuration ..." --weight=1
130+ ynh_script_progression --message=" Upgrading system configurations related to $app ..." --weight=1
139131
140132public_ip4=" $( curl -s ip.yunohost.org) " || true
141133
134+ # Create a dedicated NGINX config
135+ ynh_add_nginx_config
136+
142137# Create a dedicated systemd config
143138ynh_add_systemd_config
144139ynh_add_systemd_config --service=${app} _ldap --template=" ldap.service"
145140
146- # =================================================
147- # GENERIC FINALIZATION
148- # =================================================
149- # INTEGRATE SERVICE IN YUNOHOST
150- # =================================================
151- ynh_script_progression --message=" Integrating service in YunoHost..." --weight=1
152-
153141yunohost service add $app --description=" Videoconferencing server" --needs_exposed_ports=" $port_turn "
154142yunohost service add ${app} _ldap --description=" LDAP integration for the videoconferencing server"
155143
0 commit comments