Created
June 30, 2014 15:38
-
-
Save zeekay/7c3cbc0277776363c43d to your computer and use it in GitHub Desktop.
Virtualenv + Upstart
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description "Virtualenv-based python service" | |
author "Zach Kelling <[email protected]>" | |
start on startup | |
respawn limit 10 90 | |
script | |
chdir /var/apps/service | |
. bin/activate | |
python server.py | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment