Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

Commit

Permalink
Merge pull request #98 from caktus/autostart-celery-beat-cam
Browse files Browse the repository at this point in the history
Autostart celerybeat and celerycam
  • Loading branch information
copelco committed Oct 26, 2020
2 parents 8512dbc + 5899876 commit 0a45c1f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ fabulaws.egg-info/
*~
docs/_build/
.tox
.python-version
.vscode
1 change: 1 addition & 0 deletions docs/releases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions fabulaws/library/wsgiautoscale/templates/supervisor.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 0a45c1f

Please sign in to comment.