Created
July 7, 2017 17:34
-
-
Save shudarshon/dbb7eaa009009f987535b01572ac161d to your computer and use it in GitHub Desktop.
This is a supervisor script which runs celeryd 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:celeryd] | |
command=/home/ubuntu/virtual-env/app/bin/python manage.py celeryd -l INFO | |
directory=/home/ubuntu/app | |
environment=C_FORCE_ROOT=true | |
user=ubuntu | |
numprocs=1 | |
stdout_logfile=/var/log/celeryd/access.log | |
stderr_logfile=/var/log/celeryd/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