mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2024-12-27 01:10:10 +08:00
added pushbullet notification documentation
parent
296601360f
commit
777df99931
24
notify.md
24
notify.md
@ -454,3 +454,27 @@ And then set notification hook:
|
|||||||
```
|
```
|
||||||
acme.sh --set-notify --notify-hook telegram
|
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.
|
Loading…
Reference in New Issue
Block a user