From d0879aeebb4c8c3b0da5a99b49faac9d7bf9a1b9 Mon Sep 17 00:00:00 2001 From: neil Date: Sun, 28 Apr 2019 21:54:50 +0800 Subject: [PATCH] Updated notify (markdown) --- notify.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/notify.md b/notify.md index d28164e..03923c8 100644 --- a/notify.md +++ b/notify.md @@ -6,8 +6,27 @@ acme.sh --set-notify [--notify-hook mailgun] acme.sh --set-notify [--notify-level 2] acme.sh --set-notify [--notify-mode 0] + ``` +``` + + --notify-level 0|1|2|3 Set the notification level: Default value is 2. + 0: disabled, no notification will be sent. + 1: send notification only when there is an error. No news is good news. + 2: send notification when a cert is successfully renewed, or there is an error + 3: send notification when a cert is skipped, renewdd, or error + --notify-mode 0|1 Set notification mode. Default value is 0. + 0: Bulk mode. Send all the domain's notifications in one message(mail) + 1: Cert mode. Send a message for every single cert. + --notify-hook [hookname] Set the notify hook + + +``` + + + + ## 1. Set notification for mailgun.com