Add config sample for Slack notifications
This commit is contained in:
parent
fcfa9ac064
commit
3eabe0dce5
1 changed files with 18 additions and 0 deletions
|
|
@ -387,6 +387,24 @@ MAIL="mailx" # default command for Linux mail
|
|||
#MAIL="msmtp"
|
||||
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# NOTIFICATIONS
|
||||
# ------------------------------------------------------------------------------
|
||||
#
|
||||
# Third-pary notification services. If no NOTIFICATION_SERVICE provided, no
|
||||
# notifications will be sent.
|
||||
|
||||
# NOTIFICATION_SERVICE="slack"
|
||||
NOTIFICATION_SERVICE=
|
||||
NOTIFICATION_FAILURE_ONLY="yes" # send notifications only if there was an error while creating backup
|
||||
|
||||
# Provider: Slack
|
||||
SLACK_HOOK_URL="https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX"
|
||||
SLACK_CHANNEL="#general"
|
||||
SLACK_USERNAME="duplicity-backup"
|
||||
SLACK_EMOJI="package"
|
||||
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# TROUBLESHOOTING
|
||||
# ------------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in a new issue