Created
April 5, 2017 04:22
-
-
Save carld/b054f4d3c73d8b349beb8b9227468f3c to your computer and use it in GitHub Desktop.
Example upstart script for a clojure app
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 "Run clojure app" | |
| start on runlevel startup | |
| stop on runlevel shutdown | |
| respawn | |
| env PORT=5000 | |
| exec java -cp /var/www/app.jar clojure.main -m app.handler |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment