From cd6f579baf1c55943f51f4594dc0bafa8d59408a Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 30 Jan 2019 18:49:47 +0100 Subject: [PATCH] Adding time for service to start --- scripts/install | 1 + scripts/restore | 1 + scripts/upgrade | 1 + 3 files changed, 3 insertions(+) diff --git a/scripts/install b/scripts/install index 383b80b..444ea45 100644 --- a/scripts/install +++ b/scripts/install @@ -319,3 +319,4 @@ fi #================================================= systemctl start $app systemctl reload nginx +sleep 30 diff --git a/scripts/restore b/scripts/restore index a0dee8c..2216b13 100644 --- a/scripts/restore +++ b/scripts/restore @@ -128,3 +128,4 @@ ynh_restore_file "/etc/logrotate.d/$app" #systemctl reload php5-fpm systemctl reload nginx +sleep 30 diff --git a/scripts/upgrade b/scripts/upgrade index b628d46..148e0fa 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -170,3 +170,4 @@ fi #================================================= systemctl reload nginx +sleep 30