Skip to content

Commit

Permalink
Merge pull request #52 from pandapaul/pandapaul/message_text_detail
Browse files Browse the repository at this point in the history
Add a little detail to the up/down notifications
  • Loading branch information
doctorray117 authored Aug 14, 2022
2 parents 6e1ac72 + 215b080 commit c12ab62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions minecraft-ecsfargate-watchdog/watchdog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

function send_notification ()
{
[ "$1" = "startup" ] && MESSAGETEXT="Minecraft container online"
[ "$1" = "shutdown" ] && MESSAGETEXT="Shutting down Minecraft Server"
[ "$1" = "startup" ] && MESSAGETEXT="${SERVICE} is online at ${SERVERNAME}"
[ "$1" = "shutdown" ] && MESSAGETEXT="Shutting down ${SERVICE} at ${SERVERNAME}"

## Twilio Option
[ -n "$TWILIOFROM" ] && [ -n "$TWILIOTO" ] && [ -n "$TWILIOAID" ] && [ -n "$TWILIOAUTH" ] && \
Expand Down

0 comments on commit c12ab62

Please sign in to comment.