From f484ed6930ada974cac4dfe3b7b88a34086c94ca Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 27 Feb 2019 19:48:29 +0100 Subject: [PATCH] Add sleep --- scripts/restore | 2 ++ scripts/upgrade | 2 ++ 2 files changed, 4 insertions(+) diff --git a/scripts/restore b/scripts/restore index e584af3..cf61e9f 100644 --- a/scripts/restore +++ b/scripts/restore @@ -133,6 +133,8 @@ ynh_print_info "Reloading OnlyOffice..." ynh_systemd_action --service_name=supervisor --action=restart --line_match="INFO success: docservice entered RUNNING state" --log_path="systemd" +sleep 10 + #================================================= # END OF SCRIPT #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 5ea385d..5a73fd1 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -149,6 +149,8 @@ ynh_print_info "Reloading OnlyOffice..." ynh_systemd_action --service_name=supervisor --action=restart --line_match="INFO success: docservice entered RUNNING state" --log_path="systemd" +sleep 10 + #================================================= # END OF SCRIPT #=================================================