mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 11:00:03 -03:30
Update the default path for celerybeat-schedule
If the celerybeat database becomes corrupt then it can prevent starting some services for Tower. This happens in an obscure way and currently that database is stored at the top of the source tree. This moves it into the container managed space so that failure scenario won't persist if the container is re-created
This commit is contained in:
parent
3fe7006697
commit
dad72e297c
3
Makefile
3
Makefile
@ -17,6 +17,7 @@ GIT_BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD)
|
||||
|
||||
VENV_BASE ?= /tower_devel/venv
|
||||
SCL_PREFIX ?=
|
||||
CELERY_SCHEDULE_FILE ?= /celerybeat-schedule
|
||||
|
||||
CLIENT_TEST_DIR ?= build_test
|
||||
|
||||
@ -396,7 +397,7 @@ celeryd:
|
||||
@if [ "$(VENV_BASE)" ]; then \
|
||||
. $(VENV_BASE)/tower/bin/activate; \
|
||||
fi; \
|
||||
$(PYTHON) manage.py celeryd -l DEBUG -B --autoscale=20,2 -Ofair
|
||||
$(PYTHON) manage.py celeryd -l DEBUG -B --autoscale=20,2 -Ofair --schedule=$(CELERY_SCHEDULE_FILE)
|
||||
|
||||
# Run to start the zeromq callback receiver
|
||||
receiver:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user