mirror of
https://github.com/mag37/dockcheck.git
synced 2026-04-19 02:47:45 +00:00
removed whale icon and changed redirection to still show errors
This commit is contained in:
@@ -14,7 +14,7 @@ send_notification() {
|
|||||||
|
|
||||||
# Setting the MessageTitle and MessageBody variable here.
|
# Setting the MessageTitle and MessageBody variable here.
|
||||||
MessageTitle="${FromHost} - updates available."
|
MessageTitle="${FromHost} - updates available."
|
||||||
printf -v MessageBody "🐋 Containers on $FromHost with updates available:\n$UpdToString"
|
printf -v MessageBody "Containers on $FromHost with updates available:\n$UpdToString"
|
||||||
|
|
||||||
# Modify to fit your setup:
|
# Modify to fit your setup:
|
||||||
GotifyToken="Your Gotify token here"
|
GotifyToken="Your Gotify token here"
|
||||||
@@ -24,6 +24,6 @@ send_notification() {
|
|||||||
-F "title=${MessageTitle}" \
|
-F "title=${MessageTitle}" \
|
||||||
-F "message=${MessageBody}" \
|
-F "message=${MessageBody}" \
|
||||||
-F "priority=5" \
|
-F "priority=5" \
|
||||||
-X POST "${GotifyUrl}" &> /dev/null
|
-X POST "${GotifyUrl}" 1> /dev/null
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user