Browse code

Merge "Remove error from httpd/apache on unstack.sh"

Jenkins authored on 2013/01/15 20:43:09
Showing 1 changed files
... ...
@@ -138,7 +138,15 @@ function start_horizon() {
138 138
 
139 139
 # stop_horizon() - Stop running processes (non-screen)
140 140
 function stop_horizon() {
141
-    stop_service apache2
141
+    if is_ubuntu; then
142
+        stop_service apache2
143
+    elif is_fedora; then
144
+        stop_service httpd
145
+    elif is_suse; then
146
+        stop_service apache2
147
+    else
148
+        exit_distro_not_supported "apache configuration"
149
+    fi
142 150
 }
143 151
 
144 152
 # Restore xtrace