diff --git a/awx/main/constants.py b/awx/main/constants.py index 32d8a2184c..66666f875f 100644 --- a/awx/main/constants.py +++ b/awx/main/constants.py @@ -65,7 +65,7 @@ ENV_BLOCKLIST = frozenset( 'INVENTORY_HOSTVARS', 'AWX_HOST', 'PROJECT_REVISION', - 'SUPERVISOR_WEB_CONFIG_PATH', + 'SUPERVISOR_CONFIG_PATH', ) ) diff --git a/awx/main/utils/reload.py b/awx/main/utils/reload.py index a7c2a1ed99..29d0784f12 100644 --- a/awx/main/utils/reload.py +++ b/awx/main/utils/reload.py @@ -17,7 +17,7 @@ def supervisor_service_command(command, service='*', communicate=True): """ args = ['supervisorctl'] - supervisor_config_path = os.getenv('SUPERVISOR_WEB_CONFIG_PATH', None) + supervisor_config_path = os.getenv('SUPERVISOR_CONFIG_PATH', None) if supervisor_config_path: args.extend(['-c', supervisor_config_path])