added notification support, and added to a few scripts . need to update the rest

This commit is contained in:
2026-04-08 21:42:56 -04:00
parent ae0054fd85
commit d12e034ef1
4 changed files with 260 additions and 3 deletions
+19
View File
@@ -15,6 +15,13 @@
# ━━━ Logging ━━━
ENABLE_LOGGING=true # false = only echo user-facing messages
# ━━━ Notifications ━━━
# unRAID native notification system — set to true to enable
# Configure unRAID to send errors only: Settings → Notification Settings
NOTIFY_UNRAID=true
# Discord webhook URL — leave blank to disable
DISCORD_WEBHOOK=""
# ━━━ Git, Pull & Execute Script ━━━
REPO_SSH="git@192.168.50.2:FailedProxy/Unraid_Scripts.git"
TARGET_DIR="/mnt/user/appdata/unraid_scripts"
@@ -80,6 +87,18 @@ DAILY_SYNC_SHARES=(
# clear_logs.sh system log file paths
LOG_FILES=(/var/log/syslog /var/log/messages /var/log/dmesg)
# ━━━ Docker Daily Restart ━━━
# Containers to restart daily — space-separated, case-sensitive
# These are the same containers as critical-data and other rsync profiles
DAILY_RESTART_CONTAINERS=(
"NginxProxyManager"
"Authelia"
"Dispatcharr-Iptv-Users"
"Dispatcharr"
"Dispatcharr-Basic"
"Code-Server"
)
# ━━━ Docker Watchdog ━━━
# Containers to monitor with their memory hard limits in MB
# 20GB=20480 16GB=16384 14GB=14336 12GB=12288 10GB=10240 8GB=8192 6GB=6144 4GB=4096 1GB=1024