Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
P
provision
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Drupal.org issue queue
Drupal.org issue queue
Security & Compliance
Security & Compliance
Dependency List
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
project
provision
Commits
55745b89
Commit
55745b89
authored
Jan 22, 2018
by
Jon Pugh
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '4.x-docker-compose' of github.com:aegir-project/provision into 4.x-docker-compose
parents
654dff8a
4b4f86ac
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
src/Service/Http/ApacheDocker/httpd-foreground.sh
src/Service/Http/ApacheDocker/httpd-foreground.sh
+1
-1
src/Service/Http/HttpApacheDockerService.php
src/Service/Http/HttpApacheDockerService.php
+7
-1
No files found.
src/Service/Http/ApacheDocker/httpd-foreground.sh
View file @
55745b89
...
@@ -17,7 +17,7 @@ tree /etc/apache2
...
@@ -17,7 +17,7 @@ tree /etc/apache2
# Add symlink from our server's config to the apache include target.
# Add symlink from our server's config to the apache include target.
echo
"𝙋𝙍𝙊 ║ Checking folder
$AEGIR_ROOT
/config"
echo
"𝙋𝙍𝙊 ║ Checking folder
$AEGIR_ROOT
/config"
tree
$AEGIR_ROOT
tree
$AEGIR_ROOT
/config
# If there are no platforms assigned to the server, docker.conf and the docker config folders are never created.
# If there are no platforms assigned to the server, docker.conf and the docker config folders are never created.
#if [ ! -f '$AEGIR_ROOT/config/$AEGIR_SERVER_NAME/apacheDocker.conf' ]; then
#if [ ! -f '$AEGIR_ROOT/config/$AEGIR_SERVER_NAME/apacheDocker.conf' ]; then
...
...
src/Service/Http/HttpApacheDockerService.php
View file @
55745b89
...
@@ -61,7 +61,13 @@ class HttpApacheDockerService extends HttpApacheService implements DockerService
...
@@ -61,7 +61,13 @@ class HttpApacheDockerService extends HttpApacheService implements DockerService
* @return string
* @return string
*/
*/
public
static
function
apache_restart_cmd
()
{
public
static
function
apache_restart_cmd
()
{
return
'docker-compose exec http sudo apache2ctl graceful'
;
// return 'docker-compose exec http sudo apache2ctl graceful';
// @TODO: restarting apache gracefully results in zero downtime, but we need to restart the
// container to ensure volumes are mounted properly. If the root folder of the platform is deleted,
// docker will not see a new folder in that path in it's place. The container must restart to
// see the volume path.
return
'docker-compose restart http'
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment