Commit e0a58808 by Bach Dániel

fix upstart script

parent 3a31ce91
...@@ -5,11 +5,13 @@ stop on runlevel [!2345] ...@@ -5,11 +5,13 @@ stop on runlevel [!2345]
respawn respawn
respawn limit 30 30 respawn limit 30 30
setgid cloud
setuid cloud setuid cloud
chdir /home/cloud/storagedriver chdir /home/cloud/storagedriver
script script
. /home/cloud/.virtualenvs/storage/local/bin/activate
. /home/cloud/.virtualenvs/storage/local/bin/postactivate . /home/cloud/.virtualenvs/storage/local/bin/postactivate
exec /home/cloud/.virtualenvs/storage/bin/celery -A storagecelery worker --loglevel=info --logfile=/home/cloud/storage_log --hostname=storage exec celery -A storagecelery worker --loglevel=info
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