Просмотр исходного кода

Clarify Apprise states configuration.

Dan Helfman 1 год назад
Родитель
Сommit
54facdc391
1 измененных файлов с 6 добавлено и 1 удалено
  1. 6 1
      docs/how-to/monitor-your-backups.md

+ 6 - 1
docs/how-to/monitor-your-backups.md

@@ -435,11 +435,16 @@ apprise:
           label: gotify
           label: gotify
         - url: mastodons://access_key@hostname/@user
         - url: mastodons://access_key@hostname/@user
           label: mastodon
           label: mastodon
+    states:
+        - start
+        - finish
+        - fail
 ```
 ```
 
 
 With this configuration, borgmatic pings each of the configured Apprise
 With this configuration, borgmatic pings each of the configured Apprise
 services when a backup begins, ends, or errors, but only when any of the
 services when a backup begins, ends, or errors, but only when any of the
-`prune`, `compact`, `create`, or `check` actions are run.
+`prune`, `compact`, `create`, or `check` actions are run. (By default, if
+`states` is not specified, Apprise services are only pinged on error.)
 
 
 You can optionally customize the contents of the default messages sent to
 You can optionally customize the contents of the default messages sent to
 these services:
 these services: