mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 22:46:16 +00:00
- 2.x - sites finishing
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\SSH\Services\Webserver;
|
||||
|
||||
use App\Exceptions\SSHError;
|
||||
use App\Exceptions\SSLCreationException;
|
||||
use App\Models\Site;
|
||||
use App\Models\Ssl;
|
||||
@ -113,7 +114,7 @@ public function changePHPVersion(Site $site, $version): void
|
||||
}
|
||||
|
||||
/**
|
||||
* @throws SSLCreationException
|
||||
* @throws SSHError
|
||||
*/
|
||||
public function setupSSL(Ssl $ssl): void
|
||||
{
|
||||
@ -136,7 +137,7 @@ public function setupSSL(Ssl $ssl): void
|
||||
'pk_path' => $ssl->getPkPath(),
|
||||
]);
|
||||
}
|
||||
$result = $this->service->server->ssh()->exec(
|
||||
$result = $this->service->server->ssh()->setLog($ssl->log)->exec(
|
||||
$command,
|
||||
'create-ssl',
|
||||
$ssl->site_id
|
||||
|
Reference in New Issue
Block a user