Created
July 7, 2017 17:29
-
-
Save shudarshon/073fd8e6d818a298b335278a5633a5d0 to your computer and use it in GitHub Desktop.
This is a supervisor script which runs celerybeat in background.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[program:celerybeat] | |
command=/home/ubuntu/virtual-env/app/bin/python manage.py celery beat | |
directory=/home/ubuntu/app | |
environment=C_FORCE_ROOT=true | |
user=ubuntu | |
numprocs=1 | |
stdout_logfile=/var/log/celerybeat/access.log | |
stderr_logfile=/var/log/celerybeat/error.log | |
autostart=true | |
autorestart=true | |
startsecs=10 | |
stopwaitsecs=300 | |
killasgroup=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment