Skip to content
GitLab
Explore
Sign in
project
provision
Compare revisions
83919d63654efe2df718837f84be5efee2651e08 to 4.x-services
Commits on Source (3)
Remove shell command for now.
· 0167b213
Jon Pugh
authored
Oct 26, 2017
0167b213
Generate http_vhostd_path in SiteConfiguration and add vhost.tpl.php file.
· 1c68f8df
Jon Pugh
authored
Nov 02, 2017
1c68f8df
Merge branch '4.x-services' of git.drupal.org:project/provision into 4.x-services
· c8625f17
Jon Pugh
authored
Nov 02, 2017
c8625f17
Hide whitespace changes
Inline
Side-by-side
src/Application.php
View file @
c8625f17
...
...
@@ -124,7 +124,7 @@ class Application extends BaseApplication
$commands
[]
=
new
ListCommand
();
$commands
[]
=
new
SaveCommand
();
$commands
[]
=
new
ServicesCommand
();
$commands
[]
=
new
ShellCommand
();
//
$commands[] = new ShellCommand();
$commands
[]
=
new
StatusCommand
();
$commands
[]
=
new
VerifyCommand
();
...
...
src/Service/Http/Apache/Configuration/SiteConfiguration.php
View file @
c8625f17
...
...
@@ -55,5 +55,16 @@ class SiteConfiguration extends Configuration {
$this
->
template
=
$this
->
disabled_template
;
}
$app_dir
=
$this
->
context
->
console_config
[
'config_path'
]
.
'/'
.
$this
->
service
->
getType
();
// $this->data['http_port'] = $this->service->properties['http_port'];
// $this->data['include_statement'] = '# INCLUDE STATEMENT';
// $this->data['http_pred_path'] = "{$app_dir}/pre.d";
// $this->data['http_postd_path'] = "{$app_dir}/post.d";
// $this->data['http_platformd_path'] = "{$app_dir}/platform.d";
// $this->data['extra_config'] = "";
$this
->
data
[
'http_vhostd_path'
]
=
"
{
$app_dir
}
/vhost.d"
;
}
}
\ No newline at end of file