diff --git a/.gitignore b/.gitignore index 94fa525..66d2119 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,5 @@ fabulaws.egg-info/ *~ docs/_build/ .tox +.python-version +.vscode diff --git a/docs/releases.rst b/docs/releases.rst index 0e5df8b..f88a99c 100644 --- a/docs/releases.rst +++ b/docs/releases.rst @@ -5,6 +5,7 @@ Release History * Fix bug where users with periods in their usernames were ignored * Pass ``--yes`` to ``gpg`` to auto-confirm removal of private key from key ring during dbrestore process + * Set ``autostart=true`` for celerybeat and celerycam supervisor processes on worker * v1.0.7, August 27, 2020 diff --git a/fabulaws/library/wsgiautoscale/templates/supervisor.conf b/fabulaws/library/wsgiautoscale/templates/supervisor.conf index 9a39ac9..332898c 100644 --- a/fabulaws/library/wsgiautoscale/templates/supervisor.conf +++ b/fabulaws/library/wsgiautoscale/templates/supervisor.conf @@ -43,7 +43,7 @@ command={{ virtualenv_root }}/bin/celery beat --app={{ celery_application }} --s directory={{ code_root }} user={{ webserver_user }} numprocs=1 -autostart=false +autostart=true autorestart=true stdout_logfile={{ log_dir }}/celerybeat.log redirect_stderr=true @@ -58,7 +58,7 @@ command={{ virtualenv_root }}/bin/celery events --app={{ celery_application }} - directory={{ code_root }} user={{ webserver_user }} numprocs=1 -autostart=false +autostart=true autorestart=true stdout_logfile={{ log_dir }}/celerycam.log redirect_stderr=true