temp - disable notifications on installation

This commit is contained in:
Saeed Vaziry 2024-02-05 00:23:44 +01:00
parent b2b9bea0b1
commit a22e9cb946
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ public function handle(): void
$ssh = $this->service->server->ssh(); $ssh = $this->service->server->ssh();
$ssh->exec(new InstallUfwCommand(), 'install-ufw'); $ssh->exec(new InstallUfwCommand(), 'install-ufw');
$status = $ssh->exec(new ServiceStatusCommand($this->service->unit), 'ufw-status'); $status = $ssh->exec(new ServiceStatusCommand($this->service->unit), 'ufw-status');
// $this->service->validateInstall($status); $this->service->validateInstall($status);
$this->service->update([ $this->service->update([
'status' => ServiceStatus::READY, 'status' => ServiceStatus::READY,
]); ]);

View File

@ -91,7 +91,7 @@ public function install(): void
'server' => $this->server, 'server' => $this->server,
]) ])
); );
Notifier::send($this->server, new ServerInstallationSucceed($this->server)); // Notifier::send($this->server, new ServerInstallationSucceed($this->server));
}; };
Bus::chain($jobs) Bus::chain($jobs)