diff --git a/bin/executable_update-check.sh b/bin/executable_update-check.sh index 6feaecd..d318953 100644 --- a/bin/executable_update-check.sh +++ b/bin/executable_update-check.sh @@ -18,7 +18,14 @@ else SUMMARY=$(echo "$MSG" | awk -F "." '{print $1}') LST="$(aptitude -F %p search '~U')" LST="$(echo $LST | tr '\n' ' ')" + HOST=$(hostname) text="$SUMMARY ($(uname -n)):\n $LST" - curl -H "Tags: $(hostname)" -H "Title: Debian Update Check" -H "Icon: https://www.debian.org/logos/openlogo-nd-75.png" -d "Debian update check: $text" https://ntfy.coolify.gaiselmann.de/hetzner + curl -H "Markdown: yes" \ + -H "Tags: $HOST" \ + -H "Title: Debian Update Check" \ + -H "Icon: https://www.debian.org/logos/openlogo-nd-75.png" \ + -d "$SUMMARY on **$HOST** + + $LST" https://ntfy.coolify.gaiselmann.de/hetzner fi