From 0ace7392dceaf192382dcdfcff42d48e2f0b288e Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Sat, 27 Aug 2022 21:39:48 +0000 Subject: [PATCH] add sleep before restarting Signed-off-by: Daniel Hansson --- lib.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib.sh b/lib.sh index b8bfd441..275164b1 100644 --- a/lib.sh +++ b/lib.sh @@ -771,6 +771,8 @@ Additional Apps --> Documentserver --> $1." } restart_webserver() { +# https://github.com/nextcloud/vm/issues/2358 +sleep 2 check_command systemctl restart apache2.service if is_this_installed php"$PHPVER"-fpm then