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