Add Unraid automation script templates

This commit is contained in:
2026-05-16 14:34:35 +02:00
parent 162421e537
commit 0adddb6533
4 changed files with 82 additions and 18 deletions
@@ -16,8 +16,8 @@ send_event() {
printf '%s %s\n' "$timestamp" "$line" | tee -a "$OUTPUT_PATH" >/dev/null
if [ "$SEND_NTFY" = "1" ] && [ -x "$NTFY_SCRIPT" ]; then
"$NTFY_SCRIPT" "$NTFY_TOPIC" "Docker critical event" "$line" high || true
if [ "$SEND_NTFY" = "1" ] && [ -f "$NTFY_SCRIPT" ]; then
bash "$NTFY_SCRIPT" "$NTFY_TOPIC" "Docker critical event" "$line" high || true
fi
}