diff --git a/scripts/change_url b/scripts/change_url index 4db7ac8..ba2b907 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -45,7 +45,7 @@ ynh_add_config --template="../conf/lstu.conf.ldap" --destination="$install_dir/l ynh_script_progression --message="Starting a systemd service..." # Start a systemd service -ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Server available at" +ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Web application available at" #================================================= # END OF SCRIPT diff --git a/scripts/install b/scripts/install index e036420..1315104 100644 --- a/scripts/install +++ b/scripts/install @@ -75,7 +75,7 @@ popd ynh_script_progression --message="Starting a systemd service..." # Start a systemd service -ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Server available at" +ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Web application available at" #================================================= # END OF SCRIPT diff --git a/scripts/restore b/scripts/restore index f9f2cd4..3500b1f 100644 --- a/scripts/restore +++ b/scripts/restore @@ -56,7 +56,7 @@ yunohost service add $app --log="/var/log/$app.log" --log="/var/www/$app/log/pro #================================================= ynh_script_progression --message="Reloading NGINX web server and $app's service..." --weight=1 -ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Server available at" +ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Web application available at" ynh_systemd_action --service_name=nginx --action=reload