diff --git a/minecraft-ecsfargate-watchdog/watchdog.sh b/minecraft-ecsfargate-watchdog/watchdog.sh index 4f793d5..0970d78 100755 --- a/minecraft-ecsfargate-watchdog/watchdog.sh +++ b/minecraft-ecsfargate-watchdog/watchdog.sh @@ -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" ] && \