Commit 3faa2b8f by Bach Dániel

add upstart script

parent 4380e97f
description "CIRCLE monitor-client"
start on runlevel [2345]
stop on runlevel [!2345]
respawn
respawn limit 30 30
setgid cloud
setuid cloud
script
cd /home/cloud/monitor-client
. /home/cloud/.virtualenvs/monitor-client/local/bin/activate
. /home/cloud/.virtualenvs/monitor-client/local/bin/postactivate
HOSTNAME=$(hostname -s)
python manage.py run
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