final tweaks to notification addons
This commit is contained in:
@ -15,15 +15,15 @@ ssmtp $SendMailTo << __EOF
|
|||||||
From: "$FromHost" <$SendMailTo>
|
From: "$FromHost" <$SendMailTo>
|
||||||
date:$(date -R)
|
date:$(date -R)
|
||||||
To: <$SendMailTo>
|
To: <$SendMailTo>
|
||||||
Subject: [diskstation] Some docker packages need to be updated
|
Subject: [diskstation] Some docker containers need to be updated
|
||||||
Content-Type: text/plain; charset=UTF-8; format=flowed
|
Content-Type: text/plain; charset=UTF-8; format=flowed
|
||||||
Content-Transfer-Encoding: 7bit
|
Content-Transfer-Encoding: 7bit
|
||||||
|
|
||||||
The following docker packages on $FromHost need to be updated:
|
The following docker containers on $FromHost need to be updated:
|
||||||
|
|
||||||
"$UpdToString"
|
$UpdToString
|
||||||
|
|
||||||
From $FromHost
|
From $FromHost
|
||||||
|
|
||||||
__EOF
|
__EOF
|
||||||
}
|
}
|
||||||
|
@ -9,5 +9,5 @@ send_notification() {
|
|||||||
|
|
||||||
# platform specific notification code would go here
|
# platform specific notification code would go here
|
||||||
printf "\n%bGeneric notification addon:%b" "$c_green" "$c_reset"
|
printf "\n%bGeneric notification addon:%b" "$c_green" "$c_reset"
|
||||||
printf "\nThe following docker packages on %s need to be updated:\n%s\n" "$FromHost" "$UpdToString"
|
printf "\nThe following docker containers on %s need to be updated:\n%s\n" "$FromHost" "$UpdToString"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user