Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

add sentinel check to servercheckjob

Andras Bacsaifb75741aa893
diff --git a/app/Jobs/ServerCheckJob.php b/app/Jobs/ServerCheckJob.php
index 0013ab784a..f4720d0352 100644
--- a/app/Jobs/ServerCheckJob.php
+++ b/app/Jobs/ServerCheckJob.php
@@ -67,9 +67,14 @@ class ServerCheckJob implements ShouldBeEncrypted, ShouldQueue
ServerStorageCheckJob::dispatch($this->server);
GetContainersStatus::run($this->server, $this->containers, $containerReplicates);
+ if ($this->server->isSentinelEnabled()) {
+ CheckAndStartSentinelJob::dispatch($this->server);
+ }
+
if ($this->server->isLogDrainEnabled()) {
$this->checkLogDrainContainer();
}
+
if ($this->server->proxySet() && ! $this->server->proxy->force_stop) {
$this->server->proxyType();
$foundProxyContainer = $this->containers->filter(function ($value, $key) {