function hostmaster_install in Hostmaster (Aegir) 7.3
Same name and namespace in other branches
- 7.4 hostmaster.install \hostmaster_install()
Implement hook_install().
Perform actions to set up the site for this profile.
File
- ./
hostmaster.install, line 8
Code
function hostmaster_install() {
variable_set('install_profile', 'hostmaster');
// add support for nginx
if (d()->platform->server->http_service_type === 'nginx') {
module_enable(array(
'hosting_nginx',
));
}
// Bootstrap and create all the initial nodes
hostmaster_bootstrap();
// Finalize and setup themes, optional modules etc
hostmaster_task_finalize();
}