Commit 6bf61ea1 by Bach Dániel

fix upstart scripts

parent 4608a6ef
......@@ -7,9 +7,11 @@ respawn
respawn limit 30 30
setuid cloud
chdir /home/cloud/vmdriver
script
cd /home/cloud/vmdriver
. /home/cloud/.virtualenvs/vmdriver/local/bin/activate
. /home/cloud/.virtualenvs/vmdriver/local/bin/postactivate
exec /home/cloud/.virtualenvs/vmdriver/bin/celery -A netcelery worker --loglevel=info --logfile=/home/cloud/netcelery.log --hostname netcelery
HOSTNAME=$(hostname -s)
exec celery -A netcelery worker --loglevel=info -n ${HOSTNAME}.netdriver
end script
......@@ -7,9 +7,11 @@ respawn
respawn limit 30 30
setuid cloud
chdir /home/cloud/vmdriver
script
cd /home/cloud/vmdriver
. /home/cloud/.virtualenvs/vmdriver/local/bin/activate
. /home/cloud/.virtualenvs/vmdriver/local/bin/postactivate
exec /home/cloud/.virtualenvs/vmdriver/bin/celery -A vmcelery worker --loglevel=info --logfile=/home/cloud/vmcelery.log --hostname vmcelery
HOSTNAME=$(hostname -s)
exec celery -A vmcelery worker --loglevel=info -n ${HOSTNAME}.vmdriver
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