add sleep before restarting

Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
This commit is contained in:
Daniel Hansson 2022-08-27 21:39:48 +00:00 committed by GitHub
parent dc2c09f6bf
commit 0ace7392dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
lib.sh
View File

@ -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