Update pushover script. Adjust scripts for new syntax.

This commit is contained in:
Darren 'Tadgy' Austin 2021-02-13 16:19:32 +00:00
commit 2b800a5fcf
11 changed files with 246 additions and 124 deletions

View file

@ -4,7 +4,7 @@ set -o errexit
set -o nounset
readonly API_URL="https://api.pushover.net/1/messages.json"
readonly CONFIG_FILE="pushover-config"
readonly CONFIG_FILE="${CONFIG_FILE:-default}"
readonly DEFAULT_CONFIG="/etc/pushover/${CONFIG_FILE}"
readonly USER_OVERRIDE="${HOME}/.pushover/${CONFIG_FILE}"
readonly EXPIRE_DEFAULT=180