added pushbullet notification documentation

cirow 2021-07-17 16:07:45 -03:00
parent 296601360f
commit 777df99931

@ -454,3 +454,27 @@ And then set notification hook:
```
acme.sh --set-notify --notify-hook telegram
```
## 14. Set notification for pushbullet.com
Send notification via pushbullet.com's api. The notification will be pushed to the specified pushover application.
Create a Pushbullet API key at https://www.pushbullet.com/#settings/account.
If you want to send the push notification to a specific device, follow the instructions at https://docs.pushbullet.com/#list-pushes to get a list of all your devices, you should make note of the device `iden` field.
```sh
#Required, the application token.
export PUSHBULLET_TOKEN="xxxxxxxx"
#Optional, Id of the specific device you want to send the notification
export PUSHBULLET_DEVICE="xxxxxxxx"
```
Ok, let's set notification hook:
```sh
acme.sh --set-notify --notify-hook pushbullet
```
The PUSHBULLET_TOKEN and PUSHBULLET_DEVICE will be saved in ~/.acme.sh/account.conf and will be reused when needed.