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

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ncp/NETWORKING/letsencrypt.sh')
-rw-r--r--bin/ncp/NETWORKING/letsencrypt.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/ncp/NETWORKING/letsencrypt.sh b/bin/ncp/NETWORKING/letsencrypt.sh
index 1986a74e..6f3bf5e3 100644
--- a/bin/ncp/NETWORKING/letsencrypt.sh
+++ b/bin/ncp/NETWORKING/letsencrypt.sh
@@ -131,8 +131,7 @@ EOF
done
set-nc-domain "$DOMAIN"
- # delayed in bg so it does not kill the connection, and we get AJAX response
- bash -c "sleep 2 && service apache2 reload" &>/dev/null &
+ apachectl -k graceful
rm -rf $ncdir/.well-known
# Update configuration