Commit b1fb0e9f by Guba Sándor

misc: fix descriptions

parent e1e46b30
...@@ -4,20 +4,14 @@ start on runlevel [2345] ...@@ -4,20 +4,14 @@ start on runlevel [2345]
stop on runlevel [!2345] stop on runlevel [!2345]
pre-start script pre-start script
# Monitor jobs
start moncelery start moncelery
# Regular jobs
start mancelery start mancelery
# Slow jobs
start slowcelery start slowcelery
end script end script
post-stop script post-stop script
# Monitor jobs
stop moncelery stop moncelery
# Regular jobs
stop mancelery stop mancelery
# Slow jobs
stop slowcelery stop slowcelery
end script end script
description "CIRCLE mancelery" description "CIRCLE mancelery for common jobs"
respawn respawn
respawn limit 30 30 respawn limit 30 30
...@@ -10,6 +10,6 @@ script ...@@ -10,6 +10,6 @@ script
cd /home/cloud/circle/circle cd /home/cloud/circle/circle
. /home/cloud/.virtualenvs/circle/bin/activate . /home/cloud/.virtualenvs/circle/bin/activate
. /home/cloud/.virtualenvs/circle/bin/postactivate . /home/cloud/.virtualenvs/circle/bin/postactivate
exec ./manage.py celery --app=manager.mancelery worker --autoreload --loglevel=info --hostname=mancelery -B -c 1 exec ./manage.py celery --app=manager.mancelery worker --autoreload --loglevel=info --hostname=mancelery -B -c 10
end script end script
description "CIRCLE mancelery" description "CIRCLE moncelery for monitoring jobs"
respawn respawn
respawn limit 30 30 respawn limit 30 30
...@@ -10,6 +10,6 @@ script ...@@ -10,6 +10,6 @@ script
cd /home/cloud/circle/circle cd /home/cloud/circle/circle
. /home/cloud/.virtualenvs/circle/bin/activate . /home/cloud/.virtualenvs/circle/bin/activate
. /home/cloud/.virtualenvs/circle/bin/postactivate . /home/cloud/.virtualenvs/circle/bin/postactivate
exec ./manage.py celery --app=manager.moncelery worker --autoreload --loglevel=info --hostname=moncelery -B -c 2 exec ./manage.py celery --app=manager.moncelery worker --autoreload --loglevel=info --hostname=moncelery -B -c 3
end script end script
description "CIRCLE slow jslow job manager" description "CIRCLE mancelery for slow jobs"
respawn respawn
respawn limit 30 30 respawn limit 30 30
...@@ -10,6 +10,6 @@ script ...@@ -10,6 +10,6 @@ script
cd /home/cloud/circle/circle cd /home/cloud/circle/circle
. /home/cloud/.virtualenvs/circle/bin/activate . /home/cloud/.virtualenvs/circle/bin/activate
. /home/cloud/.virtualenvs/circle/bin/postactivate . /home/cloud/.virtualenvs/circle/bin/postactivate
exec ./manage.py celery --app=manager.slowcelery worker --autoreload --loglevel=info --hostname=slowcelery -B -c 1 exec ./manage.py celery --app=manager.slowcelery worker --autoreload --loglevel=info --hostname=slowcelery -B -c 5
end script 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