Update server unreachable notifications to include automatic revival
This commit is contained in:
parent
4abcb2d5b9
commit
3878527de8
@ -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."
|
||||
];
|
||||
}
|
||||
}
|
||||
|
@ -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.
|
||||
</x-emails.layout>
|
||||
|
Loading…
x
Reference in New Issue
Block a user