Commit a7de2da2 by Guba Sándor

misc: fixed vmcelery upsart to handle instances

parent 10fac2b8
description "IK Cloud Django Development Server"
start on runlevel [2345]
stop on runlevel [!2345]
respawn limit 30 30
setuid cloud
setgid libvirtd
instance $NAME
cd /home/cloud/vmdriver
. /home/cloud/.virtualenvs/vmdriver/local/bin/activate
. /home/cloud/.virtualenvs/vmdriver/local/bin/postactivate
HOSTNAME=$(hostname -s)
exec celery -A vmcelery worker --loglevel=info -n ${HOSTNAME}.vmdriver
exec celery -A vmcelery worker --loglevel=info -n $NAME
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