diff options
author | nachoparker <nacho@ownyourbits.com> | 2019-04-02 03:06:07 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2019-04-02 03:06:16 +0300 |
commit | 5af854b0d6ca0bba989da0ec24a196df3c33f2f9 (patch) | |
tree | e01607a79ca0259f2234920eee429ba6e9d8cb1e | |
parent | e2da70e1796caab9475846963a8f878d0646d854 (diff) |
letsencrypt: dont return error if notif failsv1.10.9
-rw-r--r-- | bin/ncp/NETWORKING/letsencrypt.sh | 3 | ||||
-rw-r--r-- | changelog.md | 8 |
2 files changed, 8 insertions, 3 deletions
diff --git a/bin/ncp/NETWORKING/letsencrypt.sh b/bin/ncp/NETWORKING/letsencrypt.sh index 2462bb2e..686df42c 100644 --- a/bin/ncp/NETWORKING/letsencrypt.sh +++ b/bin/ncp/NETWORKING/letsencrypt.sh @@ -78,12 +78,13 @@ rm -rf $ncdir/.well-known EOF chmod 755 /etc/cron.weekly/letsencrypt-ncp - mkdir -p /etc/letsencrypt/renewal-hooks/deploy/ncp + mkdir -p /etc/letsencrypt/renewal-hooks/deploy cat > /etc/letsencrypt/renewal-hooks/deploy/ncp <<EOF #!/bin/bash /usr/local/bin/ncc notification:generate \ $NOTIFYUSER "SSL renewal" \ -l "Your SSL certificate(s) \$RENEWED_DOMAINS has been renewed for another 90 days" +exit 0 EOF chmod +x /etc/letsencrypt/renewal-hooks/deploy/ncp diff --git a/changelog.md b/changelog.md index 7f4f9653..d43f47e3 100644 --- a/changelog.md +++ b/changelog.md @@ -1,7 +1,11 @@ -[v1.10.7](https://github.com/nextcloud/nextcloudpi/commit/e0a692b) (2019-03-26) letsencrypt: make sure deploy dir exists +[v1.10.9](https://github.com/nextcloud/nextcloudpi/commit/2778a83) (2019-04-01) letsencrypt: dont return error if notif fails -[v1.10.6](https://github.com/nextcloud/nextcloudpi/commit/38799fd) (2019-03-23) letsencrypt: rework notification +[v1.10.8 ](https://github.com/nextcloud/nextcloudpi/commit/c18273a) (2019-03-26) nc-backup: fix space calculation + +[v1.10.7 ](https://github.com/nextcloud/nextcloudpi/commit/41a4e84) (2019-03-14) nc-restore: Check for free space in $TMPDIR before extracting tar file + +[v1.10.6 ](https://github.com/nextcloud/nextcloudpi/commit/38799fd) (2019-03-23) letsencrypt: rework notification [v1.10.5 ](https://github.com/nextcloud/nextcloudpi/commit/2460264) (2019-03-23) fix cron path |