diff options
Diffstat (limited to 'etc/nextcloudpi-config.d/letsencrypt.sh')
-rw-r--r-- | etc/nextcloudpi-config.d/letsencrypt.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/nextcloudpi-config.d/letsencrypt.sh b/etc/nextcloudpi-config.d/letsencrypt.sh index 335edf26..53ead2da 100644 --- a/etc/nextcloudpi-config.d/letsencrypt.sh +++ b/etc/nextcloudpi-config.d/letsencrypt.sh @@ -81,8 +81,11 @@ configure() # delayed in bg so it does not kill the connection, and we get AJAX response bash -c "sleep 2 && systemctl restart apache2" &>/dev/null & + rm -rf $NCDIR/.well-known + return 0 } rm -rf $NCDIR/.well-known + return 1 } # License |