mirror of
https://github.com/ansible/awx.git
synced 2026-03-27 13:55:04 -02:30
move service definition into settings
This commit is contained in:
@@ -112,3 +112,15 @@ except ImportError:
|
||||
CLUSTER_HOST_ID = socket.gethostname()
|
||||
CELERY_ROUTES['awx.main.tasks.cluster_node_heartbeat'] = {'queue': CLUSTER_HOST_ID, 'routing_key': CLUSTER_HOST_ID}
|
||||
|
||||
# Supervisor service name dictionary used for programatic restart
|
||||
SERVICE_NAME_DICT = {
|
||||
"celery": "celeryd",
|
||||
"callback": "receiver",
|
||||
"runworker": "channels",
|
||||
"uwsgi": "uwsgi",
|
||||
"daphne": "daphne",
|
||||
"fact": "factcacher",
|
||||
"nginx": "nginx"}
|
||||
# Used for sending commands in automatic restart
|
||||
uWSGI_FIFO_LOCATION = '/awxfifo'
|
||||
|
||||
|
||||
@@ -57,6 +57,18 @@ LOGGING['handlers']['fact_receiver']['filename'] = '/var/log/tower/fact_receiver
|
||||
LOGGING['handlers']['system_tracking_migrations']['filename'] = '/var/log/tower/tower_system_tracking_migrations.log'
|
||||
LOGGING['handlers']['rbac_migrations']['filename'] = '/var/log/tower/tower_rbac_migrations.log'
|
||||
|
||||
# Supervisor service name dictionary used for programatic restart
|
||||
SERVICE_NAME_DICT = {
|
||||
"beat": "awx-celeryd-beat",
|
||||
"celery": "awx-celeryd",
|
||||
"callback": "awx-callback-receiver",
|
||||
"channels": "awx-channels-worker",
|
||||
"uwsgi": "awx-uwsgi",
|
||||
"daphne": "awx-daphne",
|
||||
"fact": "awx-fact-cache-receiver"}
|
||||
# Used for sending commands in automatic restart
|
||||
uWSGI_FIFO_LOCATION = '/var/lib/awx/awxfifo'
|
||||
|
||||
# Store a snapshot of default settings at this point before loading any
|
||||
# customizable config files.
|
||||
DEFAULTS_SNAPSHOT = {}
|
||||
|
||||
Reference in New Issue
Block a user