The restart_on_change function uses the underlying init systems service
control programs to stop/start/restart services. However, sometimes
these misbehave like apache2 with mod_wsgi which can leave process
running after stop has completed which then block start from running.
These change ensures that apache really has stopped before starting it.
Reviewed: https:/ /review. openstack. org/303538 /git.openstack. org/cgit/ openstack/ charm-keystone/ commit/ ?id=eae361c36e4 084e85c78c92954 67900e7a86c4c1
Committed: https:/
Submitter: Jenkins
Branch: master
commit eae361c36e4084e 85c78c929546790 0e7a86c4c1
Author: Liam Young <email address hidden>
Date: Fri Apr 8 16:57:02 2016 +0000
Restart apache2 safely when using mod_wsgi
The restart_on_change function uses the underlying init systems service
control programs to stop/start/restart services. However, sometimes
these misbehave like apache2 with mod_wsgi which can leave process
running after stop has completed which then block start from running.
These change ensures that apache really has stopped before starting it.
Change-Id: I8255d8f5371f7b b0783878253afaf cf27275b6b8
Closes-Bug: 1567741