Skip to content

Instantly share code, notes, and snippets.

@gregorynicholas
Forked from anonymous/uwsgi.sh
Created January 6, 2013 08:33
Show Gist options
  • Save gregorynicholas/4466092 to your computer and use it in GitHub Desktop.
Save gregorynicholas/4466092 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