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 'etc/nextcloudpi-config.d/letsencrypt.sh')
-rw-r--r--etc/nextcloudpi-config.d/letsencrypt.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/nextcloudpi-config.d/letsencrypt.sh b/etc/nextcloudpi-config.d/letsencrypt.sh
index ddb3802c..7950e328 100644
--- a/etc/nextcloudpi-config.d/letsencrypt.sh
+++ b/etc/nextcloudpi-config.d/letsencrypt.sh
@@ -62,7 +62,7 @@ configure()
sudo -u www-data php $OCC config:system:set overwrite.cli.url --value=https://$DOMAIN_
# delayed in bg so it does not kill the connection, and we get AJAX response
- ( sleep 2 && systemctl restart apache2 ) &>/dev/null &
+ bash -c "sleep 2 && systemctl restart apache2" &>/dev/null &
}
rm -rf $NCDIR/.well-known
}