fix(ssl): do not remove SSL directory

This commit is contained in:
peaklabs-dev
2025-02-05 18:03:55 +01:00
parent e81ed1aad8
commit a3c4f86e80
3 changed files with 1 additions and 4 deletions

View File

@@ -56,7 +56,6 @@ class StartMysql
});
} else {
$this->commands[] = "echo 'Setting up SSL for this database.'";
$this->commands[] = "rm -rf $this->configuration_dir/ssl";
$this->commands[] = "mkdir -p $this->configuration_dir/ssl";
$server = $this->database->destination->server;
$caCert = SslCertificate::where('server_id', $server->id)->firstOrFail();