From e5857877694b4c5a8d569c780c2ab437af6a3457 Mon Sep 17 00:00:00 2001 From: tdk1069 Date: Thu, 13 Jun 2019 09:42:40 +0100 Subject: [PATCH] Updated notify (markdown) --- notify.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/notify.md b/notify.md index 85a856c..17b5720 100644 --- a/notify.md +++ b/notify.md @@ -167,3 +167,31 @@ acme.sh --set-notify --notify-hook postmark The `POSTMARK_TOKEN`, `POSTMARK_TO` and `POSTMARK_FROM` will be saved in ~/.acme.sh/account.conf and will be reused when needed. If there are any bugs for postmarkapp.com API, please report here: https://github.com/Neilpang/acme.sh/issues/2309 + +## 6. Set notification for pushover.net + +Send notification via pushover.net's api. The notification will be pushed to the specified pushover application. + +Make a note of your PushOver user key from your account dashboard +Create your pushover application at https://pushover.net/apps/build and note the API Token. + +```sh +#The application token. +export PUSHOVER_TOKEN="xxxxxxxx" + +#Your User key. +export PUSHOVER_USER="xxxxxxxx" + +#Optional, name of a custom sound listed at https://pushover.net/api#sounds (Blank or not set will play default) +export PUSHOVER_SOUND="xxxxxxxx" +``` + +Ok, let's set notification hook: + +```sh +acme.sh --set-notify --notify-hook pushover +``` + +The PUSHOVER_TOKEN, PUSHOVER_USER and PUSHOVER_SOUND will be saved in ~/.acme.sh/account.conf and will be reused when needed. + +If there are any bugs for postmarkapp.com API, please report here: https://github.com/Neilpang/acme.sh/issues/2329 \ No newline at end of file