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 /bin/ncp | |
parent | e2da70e1796caab9475846963a8f878d0646d854 (diff) |
letsencrypt: dont return error if notif failsv1.10.9
Diffstat (limited to 'bin/ncp')
-rw-r--r-- | bin/ncp/NETWORKING/letsencrypt.sh | 3 |
1 files changed, 2 insertions, 1 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 |