From 10a108ea92e0db1fcff14cc2bed8d7d0ee3d95d2 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 1 Mar 2021 10:08:28 +0100 Subject: [PATCH] Add line_match to prevent 502 --- 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 3c1994d..6851d0c 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -108,7 +108,7 @@ fi #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=5 -ynh_systemd_action --service_name=$app --action=start --log_path="systemd" +ynh_systemd_action --service_name=$app --action=start --log_path="systemd" --line_match="Started Komga server" #================================================= # RELOAD NGINX diff --git a/scripts/install b/scripts/install index 9bc09f6..5786c89 100755 --- a/scripts/install +++ b/scripts/install @@ -146,7 +146,7 @@ yunohost service add $app --description="Media server for your comics, manga and ynh_script_progression --message="Starting a systemd service..." --weight=1 # Start a systemd service -ynh_systemd_action --service_name=$app --action=start --log_path="systemd" +ynh_systemd_action --service_name=$app --action=start --log_path="systemd" --line_match="Started Komga server" #================================================= # SETUP SSOWAT diff --git a/scripts/restore b/scripts/restore index a1f9107..fff50a6 100755 --- a/scripts/restore +++ b/scripts/restore @@ -110,7 +110,7 @@ yunohost service add $app --description="Media server for your comics, manga and #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=3 -ynh_systemd_action --service_name=$app --action=start --log_path="systemd" +ynh_systemd_action --service_name=$app --action=start --log_path="systemd" --line_match="Started Komga server" #================================================= # RESTORE THE LOGROTATE CONFIGURATION diff --git a/scripts/upgrade b/scripts/upgrade index dd6166c..535bc56 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -130,7 +130,7 @@ yunohost service add $app --description="Media server for your comics, manga and #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=2 -ynh_systemd_action --service_name=$app --action=start --log_path="systemd" +ynh_systemd_action --service_name=$app --action=start --log_path="systemd" --line_match="Started Komga server" #================================================= # RELOAD NGINX