Don't remove uwsgi config files on stop
Removing the uwsgi config files on stop breaks upgrades when using
uwsgi, so let's not do that. Keeping the file deletes in cleanup
makes sense and those calls remain.
Change-Id: I603754c3f5ed5d2f143cf789df96018ec99ad692
(cherry picked from commit 6b22300c8f
)
This commit is contained in:
parent
2b94474d31
commit
6f46a2aece
|
@ -352,9 +352,6 @@ function stop_heat {
|
|||
|
||||
if [[ "$HEAT_USE_APACHE" == "True" ]]; then
|
||||
if [[ "$WSGI_MODE" == "uwsgi" ]]; then
|
||||
remove_uwsgi_config "$HEAT_API_UWSGI_CONF" "$HEAT_API_UWSGI"
|
||||
remove_uwsgi_config "$HEAT_CFN_API_UWSGI_CONF" "$HEAT_CFN_API_UWSGI"
|
||||
remove_uwsgi_config "$HEAT_CW_API_UWSGI_CONF" "$HEAT_CW_API_UWSGI"
|
||||
_stop_processes
|
||||
else
|
||||
disable_apache_site heat-api
|
||||
|
|
Loading…
Reference in New Issue