Skip to content

Instantly share code, notes, and snippets.

@aguegu
Forked from parente/runinenv.sh
Last active August 29, 2015 14:05
Show Gist options
  • Save aguegu/e88b1d64e626c356ad6a to your computer and use it in GitHub Desktop.
Save aguegu/e88b1d64e626c356ad6a to your computer and use it in GitHub Desktop.
#!/bin/bash
. venv/bin/activate
echo "Executing $@ in venv"
exec "$@"
deactivate
; rest of conf omitted for brevity
[program:handlerbag]
command=sh runinenv /opt/envs/handlerbag handlerbag.py --port=5000
directory=/opt/envs/handlerbag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment