From 441deca3aa8e5c444866d1f0219d9a07a593b8c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Mon, 5 Aug 2019 17:08:29 +0200 Subject: [PATCH] Wait untils seahub has cleanly started --- scripts/install | 1 + scripts/restore | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index 075d336..046dcf1 100644 --- a/scripts/install +++ b/scripts/install @@ -225,5 +225,6 @@ pkill -f seaf-server || true ynh_script_progression --message="Starting seafile services..." --weight=3 ynh_systemd_action --service_name seafile ynh_systemd_action --service_name seahub +sleep 5 ynh_script_progression --message="Installation of $app completed" --last diff --git a/scripts/restore b/scripts/restore index 05411bb..424e7c9 100644 --- a/scripts/restore +++ b/scripts/restore @@ -93,5 +93,6 @@ sleep 5 ynh_script_progression --message="Starting seafile services..." --weight=3 ynh_systemd_action --service_name seafile ynh_systemd_action --service_name seahub +sleep 5 ynh_script_progression --message="Restoration completed for $app" --last