Commit 5350131f by Bach Dániel

misc: add hostname to upstart script

parent d19a1e38
......@@ -13,5 +13,6 @@ chdir /home/cloud/storagedriver
script
. /home/cloud/.virtualenvs/storage/local/bin/activate
. /home/cloud/.virtualenvs/storage/local/bin/postactivate
exec celery -A storagecelery worker --loglevel=info
HOSTNAME=$(hostname -s)
exec celery -A storagecelery worker --loglevel=info -n ${HOSTNAME}.storage
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