Created
May 1, 2015 15:56
-
-
Save frankV/17beb6ef1aab48429197 to your computer and use it in GitHub Desktop.
flask.upstart.conf
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 "flask example" | |
author "[email protected]" | |
start on runlevel [2345] | |
stop on runlevel [!2345] | |
respawn | |
script | |
cd /<your-application-path>/ | |
. /<your-env-path>/bin/activate | |
/<path-to-env-python>/python run.py | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment