Skip to content

Instantly share code, notes, and snippets.

Created July 4, 2012 12:21
Show Gist options
  • Save anonymous/3047044 to your computer and use it in GitHub Desktop.
Save anonymous/3047044 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
VIRTUAL_ENV=i_drink_ink
${WORKON_HOME}/${VIRTUAL_ENV}/bin/uwsgi \
--socket /tmp/${VIRTUAL_ENV}.sock \
--chmod-socket \
--pythonpath ${WORKON_HOME}/${VIRTUAL_ENV} \
--module app:app \
--logdate \
--daemonize /tmp/uwsgi-${VIRTUAL_ENV}.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment