Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 20 lines (13 sloc) 621 Bytes
#!/bin/bash
# script to start the uptee website
UPTEEDIR=/path/to/virtualenv
cd $UPTEEDIR
#switch user to uptee
. bin/activate
cd web/uptee
python manage.py unlock_servers
python manage.py celery worker -E -l info -f $UPTEEDIR/var/log/celery.log & >/dev/null 2>/dev/null
python manage.py celery beat -f $UPTEEDIR/var/log/celerybeat.log & >/dev/null 2>/dev/null
python manage.py celerycam & >/dev/null 2>/dev/null
cd $UPTEEDIR
bin/uwsgi --socket sock/uwsgi.sock --daemonize var/log/uwsgi.log --post-buffering 1 --chmod-socket --module wsgi --enable-threads --pythonpath $UPTEEDIR/web/uptee/ & >/dev/null 2>/dev/null
Something went wrong with that request. Please try again.