Commit 05a77b10 authored by Jon Pugh's avatar Jon Pugh

Return to using apache2tl for the restart command. Docker-compose restart doesn't catch errors!

parent e11959d0
......@@ -68,7 +68,9 @@ class HttpApacheDockerService extends HttpApacheService implements DockerService
// 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';
// @TODO: docker-compose restart doesn't catch errors in the apache config! Another win for restarting apache, not the entire container.
return 'docker-compose exec http sudo apache2ctl graceful';
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment