Commit d41e1c51 authored by anarcat's avatar anarcat Committed by anarcat

#956432 - create the platforms dir automatically

parent 00393db6
......@@ -114,6 +114,7 @@ class provisionService_http_public extends provisionService_http {
$this->server->http_postd_path = "{$app_dir}/post.d";
$this->server->http_platformd_path = "{$app_dir}/platform.d";
$this->server->http_vhostd_path = "{$app_dir}/vhost.d";
$this->server->http_platforms_path = "{$this->server->aegir_root}/platforms";
}
}
......@@ -142,7 +143,10 @@ class provisionService_http_public extends provisionService_http {
provision_file()->create_dir($this->server->http_vhostd_path , dt("Webserver virtual host configuration"), 0700);
$this->sync($this->server->http_vhostd_path, array(
'exclude' => $this->server->http_vhostd_path . '/*', // Make sure remote directory is created
));
));
provision_file()->create_dir($this->server->http_platforms_path, dt("Platforms"), 0700);
$this->sync($this->server->http_platforms_path);
}
parent::verify_server_cmd();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment