Files
shell-scripts/config.example.sh
T
andrew 0a21caf6c2 rebuilt thermal, now works with all zones available.
discord will now work without hook specified.
2023-09-27 14:45:57 -04:00

34 lines
699 B
Bash

#!/bin/bash
# degrees in Celsius which we regard as too high
THERMAL_ALERT=70
STORAGE_MONITOR=("/")
# must declare associated array explicitly
declare -A STORAGE_ALERT
# storage in GiB
STORAGE_ALERT=(["/"]=5)
BACKUP_DIRECTORY="/home/ubuntu/data"
# the directory with backups to cleanup
PRUNE_DIRECTORY="/home/ubuntu/data"
# what type of backups to cleanup (what to find) "*.zip" etc, or "<DIR>"
PRUNE_TYPE="<DIR>"
# when set to 0, all backups are kept
PRUNE_DOWN_TO=0
SERVER_DOMAIN="localhost"
DISCORD_SERVER_NAME="<YOUR_SERVER>"
DISCORD_GENERAL_HOOK="<WEBHOOK_URL_HERE>?wait=true"
DISCORD_RESTAKE_HOOK="<WEBHOOK_URL_HERE>?wait=true"
DISCORD_STORAGE_HOOK="<WEBHOOK_URL_HERE>?wait=true"