function Provision_Service_http_https::verify_server_cmd in Aegir HTTPS 7.3
Verify server.
1 call to Provision_Service_http_https::verify_server_cmd()
- Provision_Service_http_https_nginx::verify_server_cmd in submodules/
nginx_https/ drush/ Provision/ Service/ http/ https/ nginx.php - Verify server.
1 method overrides Provision_Service_http_https::verify_server_cmd()
- Provision_Service_http_https_nginx::verify_server_cmd in submodules/
nginx_https/ drush/ Provision/ Service/ http/ https/ nginx.php - Verify server.
File
- drush/
Provision/ Service/ http/ https.php, line 80 - The base implementation of the HTTPS capabale web service.
Class
- Provision_Service_http_https
- The base class for HTTPS supporting servers.
Code
function verify_server_cmd() {
if ($this->context->type === 'server') {
provision_file()
->create_dir($this->server->http_ssld_path, dt("HTTPS certificate repository for %server", array(
'%server' => $this->server->remote_host,
)), 0700);
$this
->sync($this->server->http_ssld_path, array(
'exclude' => $this->server->http_ssld_path . '/*',
));
$this
->sync($this->server->http_ssld_path . '/default');
}
// Call the parent at the end. it will restart the server when it finishes.
parent::verify_server_cmd();
}