Add config sample for Slack notifications

This commit is contained in:
Tunghsiao Liu 2016-02-26 14:56:31 +08:00
parent fcfa9ac064
commit 3eabe0dce5

View file

@ -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
# ------------------------------------------------------------------------------