From 3878527de85ac825564e2e2530251c3f1e24236d Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Wed, 17 Jan 2024 14:02:54 +0100 Subject: [PATCH] Update server unreachable notifications to include automatic revival --- app/Notifications/Server/Unreachable.php | 4 ++-- resources/views/emails/server-lost-connection.blade.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Notifications/Server/Unreachable.php b/app/Notifications/Server/Unreachable.php index fe9b46a11..bfd862993 100644 --- a/app/Notifications/Server/Unreachable.php +++ b/app/Notifications/Server/Unreachable.php @@ -52,13 +52,13 @@ class Unreachable extends Notification implements ShouldQueue public function toDiscord(): string { - $message = "Coolify: Your server '{$this->server->name}' is unreachable. All automations & integrations are turned off! Please check your server! IMPORTANT: We automatically try to revive your server. If your server is back online, we will automatically turn on all automations & integrations."; + $message = "Coolify: Your server '{$this->server->name}' is unreachable. All automations & integrations are turned off! Please check your server! IMPORTANT: We automatically try to revive your server and turn on all automations & integrations."; return $message; } public function toTelegram(): array { return [ - "message" => "Coolify: Your server '{$this->server->name}' is unreachable. All automations & integrations are turned off! Please check your server! IMPORTANT: We automatically try to revive your server. If your server is back online, we will automatically turn on all automations & integrations." + "message" => "Coolify: Your server '{$this->server->name}' is unreachable. All automations & integrations are turned off! Please check your server! IMPORTANT: We automatically try to revive your server and turn on all automations & integrations." ]; } } diff --git a/resources/views/emails/server-lost-connection.blade.php b/resources/views/emails/server-lost-connection.blade.php index 0bb30d091..fcd0a913d 100644 --- a/resources/views/emails/server-lost-connection.blade.php +++ b/resources/views/emails/server-lost-connection.blade.php @@ -3,7 +3,7 @@ Coolify cannot connect to your server ({{ $name }}). Please check your server an All automations & integrations are turned off! -IMPORTANT: We automatically try to revive your server. If your server is back online, we will automatically turn on all automations & integrations. +IMPORTANT: We automatically try to revive your server and turn on all automations & integrations. If you have any questions, please contact us.