From b8c25fdc3bc2e68610d58b1d225170ff4f2c29f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Tue, 3 Sep 2024 12:57:32 +0200 Subject: [PATCH] Fix check seahub start --- 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 58f847c..52664b8 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -56,7 +56,7 @@ sleep 2 ynh_script_progression "Starting services..." ynh_systemctl --service=seafile --wait_until="spawned seaf-server, pid " --log_path=/var/log/seafile/controller.log sleep 2 -ynh_systemctl --service=seahub --wait_until="Started Seafile hub." --log_path="systemd" +ynh_systemctl --service=seahub --wait_until="Seahub is started" --log_path="systemd" sleep 2 ynh_script_progression "Change of URL completed for $app" --time= diff --git a/scripts/install b/scripts/install index 329ad01..c0b3f1e 100644 --- a/scripts/install +++ b/scripts/install @@ -137,7 +137,7 @@ sleep 3 ynh_script_progression "Starting seafile services..." ynh_systemctl --service=seafile --wait_until="spawned seaf-server, pid " --log_path=/var/log/seafile/controller.log sleep 2 -ynh_systemctl --service=seahub --wait_until="Started Seafile hub." --log_path="systemd" +ynh_systemctl --service=seahub --wait_until="Seahub is started" --log_path="systemd" sleep 2 ynh_script_progression "Installation of $app completed" diff --git a/scripts/restore b/scripts/restore index 6a780ea..ca9463f 100644 --- a/scripts/restore +++ b/scripts/restore @@ -68,7 +68,7 @@ sleep 5 ynh_script_progression "Starting seafile services..." ynh_systemctl --service=seafile --wait_until="spawned seaf-server, pid " --log_path=/var/log/seafile/controller.log sleep 2 -ynh_systemctl --service=seahub --wait_until="Started Seafile hub." --log_path="systemd" +ynh_systemctl --service=seahub --wait_until="Seahub is started" --log_path="systemd" sleep 2 ynh_script_progression "Restoration completed for $app" diff --git a/scripts/upgrade b/scripts/upgrade index 55e6ef8..47cd89a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -208,7 +208,7 @@ sleep 5 ynh_systemctl --service=memcached.service -p "systemd" ynh_systemctl --service=seafile --wait_until="spawned seaf-server, pid " --log_path=/var/log/seafile/controller.log sleep 2 -ynh_systemctl --service=seahub --wait_until="Started Seafile hub." --log_path="systemd" +ynh_systemctl --service=seahub --wait_until="Seahub is started" --log_path="systemd" sleep 2 # remove old version files