Remove error from httpd/apache on unstack.sh
Fedora/RHEL use httpd for the package name of httpd. This is handled in other parts of the horizon startup code, but not in shutdown. Change-Id: I2732dad652d83a9cbe055f5f077678b7111ca782 Fixes: bug #1099538
This commit is contained in:
parent
5219f78d20
commit
532908f602
10
lib/horizon
10
lib/horizon
@ -138,7 +138,15 @@ function start_horizon() {
|
||||
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user