fixed error

This commit is contained in:
sean 2016-04-28 15:58:49 -04:00
parent 3ffde7807f
commit 0501d23303
2 changed files with 5 additions and 4 deletions

View file

@ -419,8 +419,9 @@ SLACK_USERNAME="duplicity-backup"
SLACK_EMOJI="package"
# Provider: Pushover
PUSHOVER_TOKEN="token" # App token generated at pushover.net
PUSHOVER_USER="userkey" # User key from pushover.net
PUSHOVER_TOKEN="" # App token generated at pushover.net
PUSHOVER_USER="" # User key from pushover.net
# ------------------------------------------------------------------------------
# TROUBLESHOOTING

View file

@ -413,8 +413,8 @@ send_notification()
echo -e "Slack notification sent to channel ${SLACK_CHANNEL}" >> "${LOGFILE}"
elif [ "${NOTIFICATION_SERVICE}" = "pushover" ]; then
curl -s \
-F "token=APP_TOKEN" \
-F "user=USER_KEY" \
-F "token=${PUSHOVER_TOKEN}" \
-F "user=${PUSHOVER_USER}" \
-F "message=${NOTIFICATION_CONTENT}" \
https://api.pushover.net/1/messages
echo -e "Pushover notification sent" >> "${LOGFILE}"