Commit 89b14466 by Guba Sándor

adding upstart script for celery demons

parent 6dc3213b
description "IK Cloud Django Development Server"
start on runlevel [2345]
stop on runlevel [!2345]
respawn
respawn limit 30 30
setuid cloud
chdir /home/cloud/vmdriver
script
. /home/cloud/.virtualenvs/vmdriver/local/bin/postactivate
exec /home/cloud/.virtualenvs/vmdriver/bin/celery -A netcelery worker --loglevel=info > /home/cloud/log
end script
description "IK Cloud Django Development Server"
start on runlevel [2345]
stop on runlevel [!2345]
respawn
respawn limit 30 30
setuid cloud
chdir /home/cloud/vmdriver
script
. /home/cloud/.virtualenvs/vmdriver/local/bin/postactivate
exec /home/cloud/.virtualenvs/vmdriver/bin/celery -A vmcelery worker --loglevel=info > /home/cloud/log
end script
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment