Add usage for matrix notify plugin #6980

Honza Hommer
2026-05-23 16:05:31 +02:00
parent 1923eaa58b
commit 0aa4e3aef8

@@ -764,3 +764,21 @@ acme.sh --set-notify --notify-hook opsgenie
```
The configuration will be saved in ~/.acme.sh/account.conf and will be reused when needed.
## 27. Set notification for Matrix ##
First get your Matrix Homeserver URL (e.g. https://matrix-client.matrix.org), API token, Room ID and set them in your systems environment:
```sh
export MATRIX_SERVER_URL="..." # overwrites Matrix Homeserver URL
export MATRIX_API_TOKEN="..." # overwrites Matrix Access token
export MATRIX_ROOM_ID="..." # overwrites Matrix Room ID
```
Ok, let's set notification hook:
```
acme.sh --set-notify --notify-hook matrix
```
The `MATRIX_SERVER_URL`, `MATRIX_API_TOKEN` and `MATRIX_ROOM_ID` will be saved in ~/.acme.sh/account.conf and will be reused when needed.