| commit | 00844508aa59132f3af3d21dafc45f6af37ff522 | [log] [tgz] |
|---|---|---|
| author | Jenkins <jenkins@review.openstack.org> | Tue Jan 15 11:43:09 2013 +0000 |
| committer | Gerrit Code Review <review@openstack.org> | Tue Jan 15 11:43:09 2013 +0000 |
| tree | c46b7b612cece6b554de9cfa865c8227829719e2 | |
| parent | 1b3a97c684a5bb3aaa5a551a26c42d0fd24ff6d5 [diff] | |
| parent | 532908f6021f5e031cae01aa2374cd62da0200a9 [diff] |
Merge "Remove error from httpd/apache on unstack.sh"
diff --git a/lib/horizon b/lib/horizon index 5d479d5..9180370 100644 --- a/lib/horizon +++ b/lib/horizon
@@ -138,7 +138,15 @@ # stop_horizon() - Stop running processes (non-screen) function stop_horizon() { - stop_service apache2 + if is_ubuntu; then + stop_service apache2 + elif is_fedora; then + stop_service httpd + elif is_suse; then + stop_service apache2 + else + exit_distro_not_supported "apache configuration" + fi } # Restore xtrace