diff --git a/scripts/change_url b/scripts/change_url index a791559..5fc4a55 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -108,7 +108,7 @@ fi #================================================= ynh_script_progression --message="Starting a systemd service..." --time --weight=1 -ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" +ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="Your Etherpad version is" --timeout="120" #================================================= # RELOAD NGINX diff --git a/scripts/restore b/scripts/restore index ba54e67..93146f6 100644 --- a/scripts/restore +++ b/scripts/restore @@ -74,6 +74,15 @@ ynh_system_user_create --username=$app chown -R $app: $final_path chmod 600 $final_path/credentials.json +#================================================= +# REINSTALL DEPENDENCIES +#================================================= +ynh_script_progression --message="Reinstalling dependencies..." --weight=12 + +ynh_install_app_dependencies $pkg_dependencies + +ynh_install_nodejs --nodejs_version=$nodejs_version + #================================================= # RESTORE THE POSTQRESQL DATABASE #=================================================