Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hansson <mailto@danielhansson.nu>2022-08-28 00:39:48 +0300
committerGitHub <noreply@github.com>2022-08-28 00:39:48 +0300
commit0ace7392dceaf192382dcdfcff42d48e2f0b288e (patch)
tree7d29e4eabf99312a9079dada5aa3a187352a660c
parentdc2c09f6bf5bd6ffb20cc557e3d9d27180f39656 (diff)
add sleep before restarting
Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
-rw-r--r--lib.sh2
1 files changed, 2 insertions, 0 deletions
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