portal.conf 442 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
description     "CIRCLE django dev server"

start on runlevel [2345]
stop on runlevel [!2345]

respawn
respawn limit 30 30
setgid cloud
setuid cloud

script
Kohl Krisztofer committed
12 13 14 15
    cd /home/kohlkriszto/Documents/cloud/circle/circle
    . /home/kohlkriszto/Documents/cloud_venv/bin/activate
    . /home/kohlkriszto/Documents/cloud_venv/bin/postactivate
#    . /home/cloud/.virtualenvs/circle/bin/postactivate
16 17
    exec ./manage.py runserver '[::]:8080'
end script