From 9e6355111a4409b1719ba8ef51b8621da7767684 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Mon, 11 Sep 2023 06:52:11 +0000 Subject: [PATCH] Update service start detection --- scripts/change_url | 2 +- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 0a5fd03..d41bacd 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -125,7 +125,7 @@ chown $app "$data_path/config.xml" #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=2 -ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Starting Web Server" --timeout=30 +ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Application started" --timeout=30 #================================================= # RELOAD NGINX diff --git a/scripts/install b/scripts/install index f98125a..d1623c1 100755 --- a/scripts/install +++ b/scripts/install @@ -171,7 +171,7 @@ yunohost service add $app --description="Radarr daemon" --log="$data_path/logs/r ynh_script_progression --message="Starting a systemd service..." --weight=2 # Start a systemd service -ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Starting Web Server" --timeout=30 +ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Application started" --timeout=30 #================================================= # SETUP SSOWAT diff --git a/scripts/restore b/scripts/restore index 4ae52d8..7ba7cf7 100755 --- a/scripts/restore +++ b/scripts/restore @@ -126,7 +126,7 @@ yunohost service add $app --description="Radarr daemon" --log="$data_path/logs/r #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=2 -ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Starting Web Server" --timeout=30 +ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Application started" --timeout=30 #================================================= # RESTORE THE LOGROTATE CONFIGURATION diff --git a/scripts/upgrade b/scripts/upgrade index 0f99ae4..b7b9a3d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -165,7 +165,7 @@ yunohost service add $app --description="Radarr daemon" --log="$data_path/logs/r #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=2 -ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Starting Web Server" --timeout=30 +ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Application started" --timeout=30 #================================================= # RELOAD NGINX